The C1PdfDocument type exposes the following members.
Constructors
Name | Description | |
---|---|---|
C1PdfDocument()()()() |
Creates a new instance of the C1PdfDocument class.
|
|
C1PdfDocument(Size) |
Creates a new instance of the C1PdfDocument class.
|
|
C1PdfDocument(PaperKind) |
Creates a new instance of the C1PdfDocument class.
|
|
C1PdfDocument(PaperKind, Boolean) |
Creates a new instance of the C1PdfDocument class.
|
Methods
Name | Description | |
---|---|---|
AddAttachment(String, array<Byte>[]()[][], Rect) |
Adds a file attachment to the current page.
|
|
AddAttachment(String, array<Byte>[]()[][], Rect, AttachmentIconEnum, Color) |
Adds a file attachment to the current page.
|
|
AddAttachment(String, array<Byte>[]()[][], Rect, Int32, AttachmentIconEnum, Color) |
Adds a file attachment to the document.
|
|
AddBookmark |
Adds a bookmark to the current page.
|
|
AddLink |
Adds a hyperlink to the current page.
|
|
AddTarget(String, Rect) |
Adds a hyperlink target to the current page.
|
|
AddTarget(String, Int32, Rect) |
Adds a hyperlink target to the document.
|
|
Clear |
Restores the document to its initial state.
(Inherited from C1PdfDocumentBase.) |
|
DrawArc |
Draws an arc defined by an ellipse specified by a Rect structure and two radial lines.
|
|
DrawBezier |
Draws a Bezier spline defined by four Point structures.
|
|
DrawBeziers |
Draws a series of Bezier splines from an array of Point structures.
|
|
DrawElement(FrameworkElement, Rect) |
Draws a FrameworkElement into the document at a specified position.
|
|
DrawElement(FrameworkElement, Rect, Rect) |
Draws a FrameworkElement into the document at a specified position.
|
|
DrawElement(FrameworkElement, Rect, ContentAlignment, Stretch) |
Draws the specified WriteableBitmap object at the specified location,
adjusting the image size as specified by the align and
stretch parameters.
|
|
DrawEllipse(Pen, Rect) |
Draws an ellipse defined by a bounding rectangle specified by a Rect structure.
|
|
DrawEllipse(Pen, Double, Double, Double, Double) |
Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.
|
|
DrawImage(WriteableBitmap, Rect) |
Draws the specified WriteableBitmap object at the specified location,
stretching it to fit the destination rectangle.
|
|
DrawImage(WriteableBitmap, Rect, Rect) |
Draws the specified WriteableBitmap object at the specified location,
clipping the output to the given clipping rectangle.
|
|
DrawImage(WriteableBitmap, Rect, ContentAlignment, Stretch) |
Draws the specified WriteableBitmap object at the specified location,
adjusting the image size as specified by the align and
stretch parameters.
|
|
DrawLine(Pen, Point, Point) |
Draws a line connecting two Point structures.
|
|
DrawLine(Pen, Double, Double, Double, Double) |
Draws a line connecting the two points specified by coordinate pairs.
|
|
DrawLines |
Draws a series of line segments that connect an array of Point structures.
|
|
DrawPie |
Draws a pie shape defined by an ellipse specified by a Rect structure and two radial lines.
|
|
DrawPolygon |
Draws a polygon defined by an array of Point structures.
|
|
DrawRectangle(Pen, Rect) |
Draws a rectangle specified by a Rect structure.
|
|
DrawRectangle(Pen, Rect, Size) | ||
DrawRectangle(Pen, Double, Double, Double, Double) |
Draws a rectangle specified by a coordinate pair, a width, and a height.
|
|
DrawString(TextBlock, Rect) |
Draws a string into the specified Rect.
|
|
DrawString(String, Font, Color, Rect) |
Draws a string into the specified Rect.
|
|
DrawString(String, Font, Color, Rect, StringFormat) |
Draws a string into the specified Rect.
|
|
DrawString(String, Font, Color, Rect, StringFormat, Int32) |
Draws a string into the specified Rect.
|
|
Equals | (Inherited from Object.) | |
FillArc |
Fills an arc defined by an ellipse specified by a Rect structure and two radial lines.
|
|
FillEllipse(Color, Rect) |
Fills the interior of an ellipse defined by a bounding rectangle specified by a Rect structure.
|
|
FillEllipse(Color, Double, Double, Double, Double) |
Fills the interior of an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.
|
|
FillPie |
Fills a pie shape defined by an ellipse specified by a Rect structure and two radial lines.
|
|
FillPolygon(Color, array<Point>[]()[][]) |
Fills a polygon defined by an array of Point structures.
|
|
FillPolygon(Color, array<Point>[]()[][], FillRule) |
Fills a polygon defined by an array of Point structures using the specified fill mode.
|
|
FillRectangle(Color, Rect) |
Fills the interior of a rectangle specified by a Rect structure.
|
|
FillRectangle(Color, Rect, Size) | ||
FillRectangle(Color, Double, Double, Double, Double) |
Fills the interior of a rectangle specified by a coordinate pair, a width, and a height.
|
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MeasureString(String, Font) |
Measures the specified string when drawn with a given Font object.
|
|
MeasureString(String, Font, Double) |
Measures the specified string when drawn with a given Font object
into a rectangle with the specified width.
|
|
MeasureString(String, Font, Double, StringFormat) |
Measures the specified string when drawn with the specified Font
object and formatted with the specified StringFormat object.
|
|
NewPage |
Starts a new page.
(Inherited from C1PdfDocumentBase.) |
|
ResetClipRect |
Restores the clipping area to the state before the last call to SetClipRect(Rect).
|
|
Save(Stream) |
Saves the Pdf document to a Stream.
(Inherited from C1PdfDocumentBase.) |
|
Save(String) |
Saves the Pdf document to a file.
(Inherited from C1PdfDocumentBase.) |
|
SetClipRect |
Sets the clipping area.
|
|
ToString | (Inherited from Object.) | |
Write |
Writes raw content into the Pdf stream for the current page.
(Inherited from C1PdfDocumentBase.) |
Properties
Name | Description | |
---|---|---|
Compression |
Gets or sets the compression level to use when saving the document.
(Inherited from C1PdfDocumentBase.) |
|
CurrentPage |
Gets or sets the index of the current page within the document.
(Overrides C1PdfDocumentBase..::..CurrentPage.) |
|
DocumentInfo |
Gets the PdfDocumentInfo object that contains information about
this document (author, etc).
(Inherited from C1PdfDocumentBase.) |
|
Landscape |
Gets or sets the default page orientation for the document.
|
|
NumberDecimalDigits |
Gets or sets the maximum number of decimal places to use in numeric values.
The default is 6. Decrease it to make the PDF file smaller.
(Inherited from C1PdfDocumentBase.) |
|
PageRectangle |
Gets a rectangle that represents the surface of the current page (in points).
(Inherited from C1PdfDocumentBase.) |
|
Pages |
Gets the collection of PdfPage objects that make up the document.
(Inherited from C1PdfDocumentBase.) |
|
PageSize |
Gets or sets the default page size for the document (in points).
(Overrides C1PdfDocumentBase..::..PageSize.) |
|
PaperKind |
Gets or sets the default page size for the document.
|
|
Security |
Gets the PdfSecurity object that manages security for this
document (passwords, etc).
(Inherited from C1PdfDocumentBase.) |
|
ViewerPreferences |
Gets the PdfViewerPreferences object that contains information about
how this document should be displayed.
(Inherited from C1PdfDocumentBase.) |
Events
Name | Description | |
---|---|---|
DrawingElement |
Occurs when the C1PdfDocument is about to render a FrameworkElement.
|
|
GeneratingDocument |
Fires periodically while data is written into the PDF document.
(Inherited from C1PdfDocumentBase.) |
|
SavingDocument |
Fires while pages are written to the PDF stream after a call to the Save(Stream) method.
(Inherited from C1PdfDocumentBase.) |