Doc Object
This is the top level object that represents a PDF document.
Method
Description
AddArc
Adds an arc to the current page.
AddBookmark
Adds a bookmark pointing to the current page.
AddFont
Adds a font reference to the document.
AddGrid
Adds a visible grid to the current page.
AddHTML
Adds a block of HTML styled text to the current page
AddImage
Adds an image to the current page.
AddLine
Adds a line to the current page.
AddObject
Adds a a native PDF object to the document.
AddPage
Adds a page to the current document.
AddText
Adds a block of text to the current page.
Append
Appends a PDF to the end of the document.
Clear
Clears the document.
Delete
Deletes an object previously added to the document.
EmbedFont
Embeds a font into the document.
FillRect
Adds a painted rectangle to the current page.
Flatten
Flattens and compresses the current page.
FrameRect
Adds a rectangular frame to the current page.
GetData
Saves a document to memory.
GetInfo
Gets information about an object.
Read
Reads an existing PDF.
Save
Saves the document as PDF.
SetInfo
Sets information about an object.
Property
Default
Description
Color
No
The color used for drawing.
Encryption
No
The current encryption settings.
Font
No
The font used for drawing text.
FontSize
No
The line height for drawing text.
HPos
No
The horizontal positioning of text.
Layer
No
The insertion position for new content.
LayerCount
No
The number of layers on the current page.
License
No
The current installed license.
MediaBox
No
The default size for new pages.
Options
No
The current state options.
Page
No
The current page for drawing operations.
PageCount
No
The number of pages in the document.
PageNumber
No
The page number of the current page.
Pos
No
The current position for drawing operations.
Rect
No
The current area for drawing operations.
Root
No
The root catalog object.
TextStyle
No
The current style for text drawing.
Transform
No
The current transformation for drawing.
VPos
No
The vertical positioning of text.
Width
No
The current line width for drawing operations.
Browser Based Help. Published by
chm2web
software.