C# Класс iTextSharp.text.pdf.PdfDocument

Наследование: iTextSharp.text.Document
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
additionalActions PdfDictionary
alignment int
anchorAction PdfAction
boxSize PdfRectangle>.Dictionary
collection PdfCollection
currentHeight float
currentOutline PdfOutline
documentFileAttachment PdfObject>.Dictionary
documentLevelJS PdfObject>.Dictionary
firstPageEvent bool
graphics PdfContentByte
imageEnd float
imageWait Image
indentation Indentation
info PdfInfo
isSectionTitle bool
lastElementType int
leading float
leadingCount int
line PdfLine
lines List
localDestinations Destination>.SortedDictionary
markPoint int
nextMarginBottom float
nextMarginLeft float
nextMarginRight float
nextMarginTop float
nextPageSize Rectangle
openActionAction PdfAction
openActionName String
pageAA PdfDictionary
pageLabels PdfPageLabels
pageResources PageResources
rootOutline PdfOutline
strictImageSequence bool
text PdfContentByte
textEmptySize int
thisBoxSize PdfRectangle>.Dictionary
viewerPreferences PdfViewerPreferencesImp
writer PdfWriter

Private Properties

Свойство Тип Описание
AddAdditionalAction void
AddAnnotation void
AddCalculationOrder void
AddDiv void
AddFileAttachment void
AddJavaScript void
AddJavaScript void
AddOutline void
AddPTable void
AddViewerPreference void
CalculateOutlineCount void
FitsPage bool
FlushFloatingElements void
GetBoxSize iTextSharp.text.Rectangle
GetCatalog PdfCatalog
GetDocumentFileAttachment PdfObject>.Dictionary
GetDocumentLevelJS PdfObject>.Dictionary
GetLocalGotoAction PdfAction
GetMarkPoint int
IncMarkPoint void
LocalDestination bool
LocalGoto void
OutlineTree void
RemoteGoto void
RemoteGoto void
SetAction void
SetBoxSize void
SetOpenAction void
SetOpenAction void
SetPageAction void
TraverseOutlineCount void
WriteLineToContent float
WriteOutlines void

Открытые методы

Метод Описание
Add ( IElement element ) : bool
AddWriter ( PdfWriter writer ) : void
ClearTextWrap ( ) : void
Close ( ) : void
GetVerticalPosition ( bool ensureNewLine ) : float
NewPage ( ) : bool
Open ( ) : void
PdfDocument ( ) : System
ResetPageCount ( ) : void
SetMarginMirroring ( bool MarginMirroring ) : bool
SetMarginMirroringTopBottom ( bool MarginMirroringTopBottom ) : bool
SetMargins ( float marginLeft, float marginRight, float marginTop, float marginBottom ) : bool
SetPageSize ( Rectangle pageSize ) : bool

Защищенные методы

Метод Описание
Add ( Image image ) : void
AddSpacing ( float extraspace, float oldleading, Font f ) : void
CarriageReturn ( ) : void
EnsureNewLine ( ) : void
FlushLines ( ) : float
InitPage ( ) : void
NewLine ( ) : void
SetNewPageSizeAndMargins ( ) : void

Приватные методы

Метод Описание
AddAdditionalAction ( PdfName actionType, PdfAction action ) : void
AddAnnotation ( PdfAnnotation annot ) : void
AddCalculationOrder ( PdfFormField formField ) : void
AddDiv ( PdfDiv div ) : void
AddFileAttachment ( String description, PdfFileSpecification fs ) : void
AddJavaScript ( PdfAction js ) : void
AddJavaScript ( String name, PdfAction js ) : void
AddOutline ( PdfOutline outline, String name ) : void
AddPTable ( PdfPTable ptable ) : void
AddViewerPreference ( PdfName key, PdfObject value ) : void
CalculateOutlineCount ( ) : void
FitsPage ( PdfPTable table, float margin ) : bool
FlushFloatingElements ( ) : void
GetBoxSize ( String boxName ) : Rectangle
GetCatalog ( PdfIndirectReference pages ) : PdfCatalog
GetDocumentFileAttachment ( ) : PdfObject>.Dictionary
GetDocumentLevelJS ( ) : PdfObject>.Dictionary
GetLocalGotoAction ( String name ) : PdfAction
GetMarkPoint ( ) : int
IncMarkPoint ( ) : void
LocalDestination ( String name, PdfDestination destination ) : bool
LocalGoto ( String name, float llx, float lly, float urx, float ury ) : void
OutlineTree ( PdfOutline outline ) : void
RemoteGoto ( String filename, String name, float llx, float lly, float urx, float ury ) : void
RemoteGoto ( String filename, int page, float llx, float lly, float urx, float ury ) : void
SetAction ( PdfAction action, float llx, float lly, float urx, float ury ) : void
SetBoxSize ( String boxName, Rectangle size ) : void
SetOpenAction ( PdfAction action ) : void
SetOpenAction ( String name ) : void
SetPageAction ( PdfName actionType, PdfAction action ) : void
TraverseOutlineCount ( PdfOutline outline ) : void
WriteLineToContent ( PdfLine line, PdfContentByte text, PdfContentByte graphics, Object currentValues, float ratio ) : float
WriteOutlines ( ) : void

Описание методов

Add() публичный метод

public Add ( IElement element ) : bool
element IElement
Результат bool

Add() защищенный метод

protected Add ( Image image ) : void
image Image
Результат void

AddSpacing() защищенный метод

protected AddSpacing ( float extraspace, float oldleading, Font f ) : void
extraspace float
oldleading float
f iTextSharp.text.Font
Результат void

AddWriter() публичный метод

public AddWriter ( PdfWriter writer ) : void
writer PdfWriter
Результат void

CarriageReturn() защищенный метод

protected CarriageReturn ( ) : void
Результат void

ClearTextWrap() публичный метод

public ClearTextWrap ( ) : void
Результат void

Close() публичный метод

public Close ( ) : void
Результат void

EnsureNewLine() защищенный метод

protected EnsureNewLine ( ) : void
Результат void

FlushLines() защищенный метод

protected FlushLines ( ) : float
Результат float

GetVerticalPosition() публичный метод

public GetVerticalPosition ( bool ensureNewLine ) : float
ensureNewLine bool
Результат float

InitPage() защищенный метод

protected InitPage ( ) : void
Результат void

NewLine() защищенный метод

protected NewLine ( ) : void
Результат void

NewPage() публичный метод

public NewPage ( ) : bool
Результат bool

Open() публичный метод

public Open ( ) : void
Результат void

PdfDocument() публичный метод

public PdfDocument ( ) : System
Результат System

ResetPageCount() публичный метод

public ResetPageCount ( ) : void
Результат void

SetMarginMirroring() публичный метод

public SetMarginMirroring ( bool MarginMirroring ) : bool
MarginMirroring bool
Результат bool

SetMarginMirroringTopBottom() публичный метод

public SetMarginMirroringTopBottom ( bool MarginMirroringTopBottom ) : bool
MarginMirroringTopBottom bool
Результат bool

SetMargins() публичный метод

public SetMargins ( float marginLeft, float marginRight, float marginTop, float marginBottom ) : bool
marginLeft float
marginRight float
marginTop float
marginBottom float
Результат bool

SetNewPageSizeAndMargins() защищенный метод

protected SetNewPageSizeAndMargins ( ) : void
Результат void

SetPageSize() публичный метод

public SetPageSize ( Rectangle pageSize ) : bool
pageSize Rectangle
Результат bool

Описание свойств

additionalActions защищенное свойство

protected PdfDictionary additionalActions
Результат PdfDictionary

alignment защищенное свойство

protected int alignment
Результат int

anchorAction защищенное свойство

protected PdfAction anchorAction
Результат PdfAction

boxSize защищенное свойство

protected Dictionary boxSize
Результат PdfRectangle>.Dictionary

collection защищенное свойство

protected PdfCollection collection
Результат PdfCollection

currentHeight защищенное свойство

protected float currentHeight
Результат float

currentOutline защищенное свойство

protected PdfOutline currentOutline
Результат PdfOutline

documentFileAttachment защищенное свойство

protected Dictionary documentFileAttachment
Результат PdfObject>.Dictionary

documentLevelJS защищенное свойство

protected Dictionary documentLevelJS
Результат PdfObject>.Dictionary

firstPageEvent защищенное свойство

protected bool firstPageEvent
Результат bool

graphics защищенное свойство

protected PdfContentByte graphics
Результат PdfContentByte

imageEnd защищенное свойство

protected float imageEnd
Результат float

imageWait защищенное свойство

protected Image imageWait
Результат Image

indentation защищенное свойство

protected Indentation indentation
Результат Indentation

info защищенное свойство

protected PdfInfo info
Результат PdfInfo

isSectionTitle защищенное свойство

protected bool isSectionTitle
Результат bool

lastElementType защищенное свойство

protected int lastElementType
Результат int

leading защищенное свойство

protected float leading
Результат float

leadingCount защищенное свойство

protected int leadingCount
Результат int

line защищенное свойство

protected PdfLine line
Результат PdfLine

lines защищенное свойство

protected List lines
Результат List

localDestinations защищенное свойство

protected SortedDictionary localDestinations
Результат Destination>.SortedDictionary

markPoint защищенное свойство

protected int markPoint
Результат int

nextMarginBottom защищенное свойство

protected float nextMarginBottom
Результат float

nextMarginLeft защищенное свойство

protected float nextMarginLeft
Результат float

nextMarginRight защищенное свойство

protected float nextMarginRight
Результат float

nextMarginTop защищенное свойство

protected float nextMarginTop
Результат float

nextPageSize защищенное свойство

protected Rectangle nextPageSize
Результат Rectangle

openActionAction защищенное свойство

protected PdfAction openActionAction
Результат PdfAction

openActionName защищенное свойство

protected String openActionName
Результат String

pageAA защищенное свойство

protected PdfDictionary pageAA
Результат PdfDictionary

pageLabels защищенное свойство

protected PdfPageLabels pageLabels
Результат PdfPageLabels

pageResources защищенное свойство

protected PageResources pageResources
Результат PageResources

rootOutline защищенное свойство

protected PdfOutline rootOutline
Результат PdfOutline

strictImageSequence защищенное свойство

protected bool strictImageSequence
Результат bool

text защищенное свойство

protected PdfContentByte text
Результат PdfContentByte

textEmptySize защищенное свойство

protected int textEmptySize
Результат int

thisBoxSize защищенное свойство

protected Dictionary thisBoxSize
Результат PdfRectangle>.Dictionary

viewerPreferences защищенное свойство

protected PdfViewerPreferencesImp viewerPreferences
Результат PdfViewerPreferencesImp

writer защищенное свойство

protected PdfWriter writer
Результат PdfWriter