C# 클래스 HPdf.HPdfDoc

상속: IDisposable
파일 보기 프로젝트 열기: ChristophGuillermet/WHITECAT_opensource 1 사용 예제들

공개 메소드들

메소드 설명
AddPage ( ) : HPdfPage
AddPageLabel ( uint page_num, HPdfPageNumStyle style, uint first_page, string prefix ) : void
CreateExtGState ( ) : HPdfExtGState
CreateOutline ( HPdfOutline parent, string title, HPdfEncoder encoder ) : HPdfOutline
ErrorProc ( uint error_no, uint detail_no, IntPtr user_data ) : void
FreeDoc ( ) : void
FreeDocAll ( ) : void
GetCurrentEncoder ( ) : HPdfEncoder
GetCurrentPage ( ) : HPdfPage
GetEncoder ( string encoding_name ) : HPdfEncoder
GetError ( ) : uint
GetErrorDetail ( ) : uint
GetFont ( string font_name, string encoding_name ) : HPdfFont
GetInfoAttr ( HPdfInfoType type ) : string
GetPageByIndex ( uint index ) : HPdfPage
GetPageLayout ( ) : HPdfPageLayout
GetPageMode ( ) : HPdfPageMode
GetViewerPreference ( ) : uint
HPdfDoc ( ) : System
HPdfGetVersion ( ) : string
HasDoc ( ) : bool
IDisposable ( ) : void
InsertPage ( HPdfPage page ) : HPdfPage
LoadJpegImageFromFile ( string filename ) : HPdfImage
LoadPngImageFromFile ( string filename ) : HPdfImage
LoadPngImageFromFile2 ( string filename ) : HPdfImage
LoadRawImageFromFile ( string filename, uint width, uint height, HPdfColorSpace color_space ) : HPdfImage
LoadRawImageFromMem ( byte data, int width, int height, HPdfColorSpace color_space, uint bits_per_component ) : HPdfImage
LoadTTFontFromFile ( string file_name, bool embedding ) : string
LoadTTFontFromFile2 ( string file_name, uint index, bool embedding ) : string
LoadType1FontFromFile ( string afmfilename, string pfmfilename ) : string
NewDoc ( ) : void
ResetError ( ) : void
SaveToFile ( string file_name ) : void
SetCompressionMode ( uint mode ) : void
SetCurrentEncoder ( string encoding_name ) : void
SetEncryptionMode ( HPdfEncryptMode mode, uint key_len ) : void
SetInfoAttr ( HPdfInfoType type, string value ) : void
SetInfoDateAttr ( HPdfInfoType type, HPdfDate value ) : void
SetOpenAction ( HPdfDestination open_action ) : void
SetPageLayout ( HPdfPageLayout layout ) : void
SetPageMode ( HPdfPageMode mode ) : void
SetPagesConfiguration ( uint page_per_pages ) : void
SetPassword ( string owner_passwd, string user_passwd ) : void
SetPermission ( uint permission ) : void
SetViewerPreference ( uint value ) : void
UseCNSEncodings ( ) : uint
UseCNSFonts ( ) : uint
UseCNTEncodings ( ) : uint
UseCNTFonts ( ) : uint
UseJPEncodings ( ) : uint
UseJPFonts ( ) : uint
UseKREncodings ( ) : uint
UseKRFonts ( ) : uint

비공개 메소드들

메소드 설명
HPDF_AddPage ( IntPtr pdf ) : IntPtr
HPDF_AddPageLabel ( IntPtr pdf, uint page_num, HPdfPageNumStyle style, uint first_page, string prefix ) : uint
HPDF_CreateExtGState ( IntPtr pdf ) : IntPtr
HPDF_CreateOutline ( IntPtr pdf, IntPtr parent, string title, IntPtr encoder ) : IntPtr
HPDF_Free ( IntPtr pdf ) : void
HPDF_FreeDoc ( IntPtr pdf ) : uint
HPDF_FreeDocAll ( IntPtr pdf ) : uint
HPDF_GetCurrentEncoder ( IntPtr pdf ) : IntPtr
HPDF_GetCurrentPage ( IntPtr pdf ) : IntPtr
HPDF_GetEncoder ( IntPtr pdf, string encoding_name ) : IntPtr
HPDF_GetError ( IntPtr pdf ) : uint
HPDF_GetErrorDetail ( IntPtr pdf ) : uint
HPDF_GetFont ( IntPtr pdf, string font_name, string encoding_name ) : IntPtr
HPDF_GetInfoAttr ( IntPtr pdf, HPdfInfoType type ) : string
HPDF_GetPageByIndex ( IntPtr pdf, uint index ) : IntPtr
HPDF_GetPageLayout ( IntPtr pdf ) : HPdfPageLayout
HPDF_GetPageMode ( IntPtr pdf ) : HPdfPageMode
HPDF_GetVersion ( ) : string
HPDF_GetViewerPreference ( IntPtr pdf ) : uint
HPDF_HasDoc ( IntPtr pdf ) : uint
HPDF_InsertPage ( IntPtr pdf, IntPtr page ) : IntPtr
HPDF_LoadJpegImageFromFile ( IntPtr pdf, string filename ) : IntPtr
HPDF_LoadPngImageFromFile ( IntPtr pdf, string filename ) : IntPtr
HPDF_LoadPngImageFromFile2 ( IntPtr pdf, string filename ) : IntPtr
HPDF_LoadRawImageFromFile ( IntPtr pdf, string filename, uint width, uint height, HPdfColorSpace color_space ) : IntPtr
HPDF_LoadRawImageFromMem ( IntPtr pdf, byte data, int width, int height, HPdfColorSpace color_space, uint bits_per_component ) : IntPtr
HPDF_LoadTTFontFromFile ( IntPtr pdf, string file_name, int embedding ) : string
HPDF_LoadTTFontFromFile2 ( IntPtr pdf, string file_name, uint index, int embedding ) : string
HPDF_LoadType1FontFromFile ( IntPtr pdf, string afmfilename, string pfmfilename ) : string
HPDF_New ( HPDF_ErrorHandler user_error_fn, IntPtr user_data ) : IntPtr
HPDF_NewDoc ( IntPtr pdf ) : uint
HPDF_ResetError ( IntPtr pdf ) : void
HPDF_SaveToFile ( IntPtr pdf, string file_name ) : uint
HPDF_SetCompressionMode ( IntPtr pdf, uint mode ) : uint
HPDF_SetCurrentEncoder ( IntPtr pdf, string encoding_name ) : uint
HPDF_SetEncryptionMode ( IntPtr pdf, HPdfEncryptMode mode, uint key_len ) : uint
HPDF_SetInfoAttr ( IntPtr pdf, HPdfInfoType type, string value ) : uint
HPDF_SetInfoDateAttr ( IntPtr pdf, HPdfInfoType type, HPdfDate value ) : uint
HPDF_SetOpenAction ( IntPtr pdf, IntPtr open_action ) : uint
HPDF_SetPageLayout ( IntPtr pdf, HPdfPageLayout layout ) : uint
HPDF_SetPageMode ( IntPtr pdf, HPdfPageMode mode ) : uint
HPDF_SetPagesConfiguration ( IntPtr pdf, uint page_per_pages ) : uint
HPDF_SetPassword ( IntPtr pdf, string owner_passwd, string user_passwd ) : uint
HPDF_SetPermission ( IntPtr pdf, uint permission ) : uint
HPDF_SetViewerPreference ( IntPtr pdf, uint value ) : uint
HPDF_UseCNSEncodings ( IntPtr pdf ) : uint
HPDF_UseCNSFonts ( IntPtr pdf ) : uint
HPDF_UseCNTEncodings ( IntPtr pdf ) : uint
HPDF_UseCNTFonts ( IntPtr pdf ) : uint
HPDF_UseJPEncodings ( IntPtr pdf ) : uint
HPDF_UseJPFonts ( IntPtr pdf ) : uint
HPDF_UseKREncodings ( IntPtr pdf ) : uint
HPDF_UseKRFonts ( IntPtr pdf ) : uint

메소드 상세

AddPage() 공개 메소드

public AddPage ( ) : HPdfPage
리턴 HPdfPage

AddPageLabel() 공개 메소드

public AddPageLabel ( uint page_num, HPdfPageNumStyle style, uint first_page, string prefix ) : void
page_num uint
style HPdfPageNumStyle
first_page uint
prefix string
리턴 void

CreateExtGState() 공개 메소드

public CreateExtGState ( ) : HPdfExtGState
리턴 HPdfExtGState

CreateOutline() 공개 메소드

public CreateOutline ( HPdfOutline parent, string title, HPdfEncoder encoder ) : HPdfOutline
parent HPdfOutline
title string
encoder HPdfEncoder
리턴 HPdfOutline

ErrorProc() 공개 정적인 메소드

public static ErrorProc ( uint error_no, uint detail_no, IntPtr user_data ) : void
error_no uint
detail_no uint
user_data System.IntPtr
리턴 void

FreeDoc() 공개 메소드

public FreeDoc ( ) : void
리턴 void

FreeDocAll() 공개 메소드

public FreeDocAll ( ) : void
리턴 void

GetCurrentEncoder() 공개 메소드

public GetCurrentEncoder ( ) : HPdfEncoder
리턴 HPdfEncoder

GetCurrentPage() 공개 메소드

public GetCurrentPage ( ) : HPdfPage
리턴 HPdfPage

GetEncoder() 공개 메소드

public GetEncoder ( string encoding_name ) : HPdfEncoder
encoding_name string
리턴 HPdfEncoder

GetError() 공개 메소드

public GetError ( ) : uint
리턴 uint

GetErrorDetail() 공개 메소드

public GetErrorDetail ( ) : uint
리턴 uint

GetFont() 공개 메소드

public GetFont ( string font_name, string encoding_name ) : HPdfFont
font_name string
encoding_name string
리턴 HPdfFont

GetInfoAttr() 공개 메소드

public GetInfoAttr ( HPdfInfoType type ) : string
type HPdfInfoType
리턴 string

GetPageByIndex() 공개 메소드

public GetPageByIndex ( uint index ) : HPdfPage
index uint
리턴 HPdfPage

GetPageLayout() 공개 메소드

public GetPageLayout ( ) : HPdfPageLayout
리턴 HPdfPageLayout

GetPageMode() 공개 메소드

public GetPageMode ( ) : HPdfPageMode
리턴 HPdfPageMode

GetViewerPreference() 공개 메소드

public GetViewerPreference ( ) : uint
리턴 uint

HPdfDoc() 공개 메소드

public HPdfDoc ( ) : System
리턴 System

HPdfGetVersion() 공개 정적인 메소드

public static HPdfGetVersion ( ) : string
리턴 string

HasDoc() 공개 메소드

public HasDoc ( ) : bool
리턴 bool

IDisposable() 공개 메소드

public IDisposable ( ) : void
리턴 void

InsertPage() 공개 메소드

public InsertPage ( HPdfPage page ) : HPdfPage
page HPdfPage
리턴 HPdfPage

LoadJpegImageFromFile() 공개 메소드

public LoadJpegImageFromFile ( string filename ) : HPdfImage
filename string
리턴 HPdfImage

LoadPngImageFromFile() 공개 메소드

public LoadPngImageFromFile ( string filename ) : HPdfImage
filename string
리턴 HPdfImage

LoadPngImageFromFile2() 공개 메소드

public LoadPngImageFromFile2 ( string filename ) : HPdfImage
filename string
리턴 HPdfImage

LoadRawImageFromFile() 공개 메소드

public LoadRawImageFromFile ( string filename, uint width, uint height, HPdfColorSpace color_space ) : HPdfImage
filename string
width uint
height uint
color_space HPdfColorSpace
리턴 HPdfImage

LoadRawImageFromMem() 공개 메소드

public LoadRawImageFromMem ( byte data, int width, int height, HPdfColorSpace color_space, uint bits_per_component ) : HPdfImage
data byte
width int
height int
color_space HPdfColorSpace
bits_per_component uint
리턴 HPdfImage

LoadTTFontFromFile() 공개 메소드

public LoadTTFontFromFile ( string file_name, bool embedding ) : string
file_name string
embedding bool
리턴 string

LoadTTFontFromFile2() 공개 메소드

public LoadTTFontFromFile2 ( string file_name, uint index, bool embedding ) : string
file_name string
index uint
embedding bool
리턴 string

LoadType1FontFromFile() 공개 메소드

public LoadType1FontFromFile ( string afmfilename, string pfmfilename ) : string
afmfilename string
pfmfilename string
리턴 string

NewDoc() 공개 메소드

public NewDoc ( ) : void
리턴 void

ResetError() 공개 메소드

public ResetError ( ) : void
리턴 void

SaveToFile() 공개 메소드

public SaveToFile ( string file_name ) : void
file_name string
리턴 void

SetCompressionMode() 공개 메소드

public SetCompressionMode ( uint mode ) : void
mode uint
리턴 void

SetCurrentEncoder() 공개 메소드

public SetCurrentEncoder ( string encoding_name ) : void
encoding_name string
리턴 void

SetEncryptionMode() 공개 메소드

public SetEncryptionMode ( HPdfEncryptMode mode, uint key_len ) : void
mode HPdfEncryptMode
key_len uint
리턴 void

SetInfoAttr() 공개 메소드

public SetInfoAttr ( HPdfInfoType type, string value ) : void
type HPdfInfoType
value string
리턴 void

SetInfoDateAttr() 공개 메소드

public SetInfoDateAttr ( HPdfInfoType type, HPdfDate value ) : void
type HPdfInfoType
value HPdfDate
리턴 void

SetOpenAction() 공개 메소드

public SetOpenAction ( HPdfDestination open_action ) : void
open_action HPdfDestination
리턴 void

SetPageLayout() 공개 메소드

public SetPageLayout ( HPdfPageLayout layout ) : void
layout HPdfPageLayout
리턴 void

SetPageMode() 공개 메소드

public SetPageMode ( HPdfPageMode mode ) : void
mode HPdfPageMode
리턴 void

SetPagesConfiguration() 공개 메소드

public SetPagesConfiguration ( uint page_per_pages ) : void
page_per_pages uint
리턴 void

SetPassword() 공개 메소드

public SetPassword ( string owner_passwd, string user_passwd ) : void
owner_passwd string
user_passwd string
리턴 void

SetPermission() 공개 메소드

public SetPermission ( uint permission ) : void
permission uint
리턴 void

SetViewerPreference() 공개 메소드

public SetViewerPreference ( uint value ) : void
value uint
리턴 void

UseCNSEncodings() 공개 메소드

public UseCNSEncodings ( ) : uint
리턴 uint

UseCNSFonts() 공개 메소드

public UseCNSFonts ( ) : uint
리턴 uint

UseCNTEncodings() 공개 메소드

public UseCNTEncodings ( ) : uint
리턴 uint

UseCNTFonts() 공개 메소드

public UseCNTFonts ( ) : uint
리턴 uint

UseJPEncodings() 공개 메소드

public UseJPEncodings ( ) : uint
리턴 uint

UseJPFonts() 공개 메소드

public UseJPFonts ( ) : uint
리턴 uint

UseKREncodings() 공개 메소드

public UseKREncodings ( ) : uint
리턴 uint

UseKRFonts() 공개 메소드

public UseKRFonts ( ) : uint
리턴 uint