[]
Provides methods to create and save Pdf documents.
[ToolboxBitmap(typeof(C1PdfDocument), "C1PdfDocument.png")]
public class C1PdfDocument : C1PdfDocument, IComponent, IDisposable, IFlowDocument, IFlowRendering, IRendering
<ToolboxBitmap(GetType(C1PdfDocument), "C1PdfDocument.png")>
Public Class C1PdfDocument
Inherits C1PdfDocument
Implements IComponent, IDisposable, IFlowDocument, IFlowRendering, IRendering
| Name | Description |
|---|---|
| C1PdfDocument() | Creates a new instance of the C1PdfDocument class. |
| C1PdfDocument(PaperKind) | Creates a new instance of the C1PdfDocument class. |
| C1PdfDocument(PaperKind, bool) | Creates a new instance of the C1PdfDocument class. |
| C1PdfDocument(SizeF) | Creates a new instance of the C1PdfDocument class. |
| Name | Description |
|---|---|
| DrawPreferences | Gets or sets preferences for draw elements. |
| ParseEmfPlus | Gets or sets the flag to convert EMF PLUS metafiles to EMF ONLY metafiles or no. |
| Name | Description |
|---|---|
| DrawArc(Pen, Rect, double, double) | Draws an arc defined by an ellipse specified by a rectangle structure and two radial lines. |
| DrawBezier(Pen, Point, Point, Point, Point) | Draws a Bezier spline defined by four point structures. |
| DrawBeziers(Pen, Point[]) | 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, ContentAlignment, Stretch) | Draws the specified WriteableBitmap object at the specified location,
adjusting the image size as specified by the |
| DrawElement(FrameworkElement, Rect, Rect) | Draws a FrameworkElement into the document at a specified position. |
| DrawEllipse(Pen, Rect) | Draws an ellipse defined by a bounding rectangle specified by a rectangle 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. |
| DrawEllipse(Pen, Rect) | Draws an ellipse defined by a bounding rectangle specified by a rectangle structure. |
| DrawImage(int, int, int[], Rect, Rect) | Draws the specified ARGB pixels at the specified location, clipping the output to the given clipping rectangle. |
| DrawImage(WriteableBitmap, Rect) | Draws the specified WriteableBitmap object at the specified location, stretching it to fit the destination rectangle. |
| DrawImage(WriteableBitmap, Rect, ContentAlignment, Stretch) | Draws the specified WriteableBitmap object at the specified location,
adjusting the image size as specified by the |
| DrawImage(WriteableBitmap, Rect, Rect) | Draws the specified WriteableBitmap object at the specified location, clipping the output to the given clipping rectangle. |
| DrawLine(Pen, double, double, double, double) | Draws a line connecting the two points specified by coordinate pairs. |
| DrawLine(Pen, double, double, double, double) | Draws a line connecting the two points specified by coordinate pairs. |
| DrawLine(Pen, Point, Point) | Draws a line connecting two point structures. |
| DrawLines(Pen, Point[]) | Draws a series of line segments that connect an array of point structures. |
| DrawPath(Pen, Point[], byte[], bool) | Draws a path defined by points and types. |
| DrawPie(Pen, Rect, double, double) | Draws a pie shape defined by an ellipse specified by a rectangle structure and two radial lines. |
| DrawPolygon(Pen, Point[]) | Draws a polygon defined by an array of point structures. |
| DrawPolygon(Pen, Point[]) | Draws a polygon defined by an array of point structures. |
| DrawRectangle(Pen, Rect) | Draws a rectangle specified by a rectangle structure. |
| DrawRectangle(Pen, Rect, Size) | Draws a rounded rectangle specified by rectangle and size structures. |
| DrawRectangle(Pen, float, float, float, float) | Draws a rectangle specified by a coordinate pair, a width, and a height. |
| DrawRectangle(Pen, Rect) | Draws a rectangle specified by a rectangle structure. |
| DrawRectangle(Pen, Rect, Size) | Draws a rounded rectangle specified by rectangle and size structures. |
| DrawString(string, Font, Brush, Rect, int, StringFormat) | Draws the specified text string in the specified rectangle with the specified Brush and C1.Util.Font objects using the formatting attributes of the specified C1.Util.StringFormat object. |
| DrawString(string, Font, Brush, Rect, int, StringFormat, float) | Draws the specified text string in the specified rectangle, with the specified Brush and C1.Util.Font, using the formatting attributes of the specified C1.Util.StringFormat object and specified character width coefficient. |
| DrawString(string, Font, Color, Rect, int, StringFormat) | Draws the specified text string in the specified rectangle with the specified Brush and C1.Util.Font objects using the formatting attributes of the specified C1.Util.StringFormat object. |
| DrawString(string, Font, Color, Rect, int, StringFormat, float) | Draws the specified text string in the specified rectangle, with the specified Brush and C1.Util.Font, using the formatting attributes of the specified C1.Util.StringFormat object and specified character width coefficient. |
| DrawString(TextBlock, Rect) | Draws a string into the specified System.Windows.Rect. |
| FillArc(Brush, Rect, double, double) | Fills an arc defined by an ellipse specified by a rectangle structure and two radial lines. |
| FillEllipse(Brush, 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. |
| FillEllipse(Brush, Rect) | Fills the interior of an ellipse defined by a bounding rectangle specified by a rectangle structure. |
| FillEllipse(Color, Rect) | Fills the interior of an ellipse defined by a bounding rectangle specified by a rectangle structure. |
| FillPath(Brush, Point[], byte[], bool) | Fills a path defined by points and types. |
| FillPath(Color, Point[], byte[], bool) | Fills a path defined by points and types. |
| FillPie(Brush, Rect, float, float) | Fills a pie shape defined by an ellipse specified by a rectangle structure and two radial lines. |
| FillPolygon(Brush, Point[], FillMode) | Fills a polygon defined by an array of point structures using the specified fill mode. |
| FillPolygon(Color, Point[], FillMode) | Fills a polygon defined by an array of point structures using the specified fill mode. |
| FillRectangle(Brush, RectangleF, SizeF) | Fills the interior of a rounded rectangle specified by rectangle and size structures. |
| FillRectangle(Brush, float, float, float, float) | Fills the interior of a rectangle specified by a coordinate pair, a width, and a height. |
| FillRectangle(Brush, Rect) | Fills the interior of a rectangle specified by a rectangle structure. |
| FillRectangle(Color, Rect) | Fills the interior of a rectangle specified by a rectangle structure. |
| FillRectangle(Color, Rect, Size) | Fills the interior of a rounded rectangle specified by rectangle and size structures. |
| OnDrawingElement(DrawingElementEventArgs) | Raises the DrawingElement event. |
| SetTransform(Matrix) | Sets the PDF transform (write the matrix). |
| ToColor(Brush) | Gets aproximate color for the brush.. |
| ToColor(Color) | Gets converted color. |
| ToPen(Pen) | Gets converted pen. |
| ToPoint(Point) | Gets converted point. |
| ToPoints(Point[]) | Gets converted points. |
| ToRect(Rect) | Gets converted rectangle. |
| ToSize(Size) | Gets converted size. |
| Name | Description |
|---|---|
| DrawingElement | Occurs when the C1PdfDocument is about to render a FrameworkElement. |