[]
        
(Showing Draft Content)

C1.Xaml.Pdf.C1WordDocument

C1WordDocument Class

Provides methods to create and save Pdf documents.

Inheritance
C1WordDocument
C1WordDocument
Implements
IFlowDocument
IFlowRendering
IRendering
IRtfContent
Namespace: C1.Xaml.Pdf
Assembly: C1.Win.Pdf.dll
Syntax
[ToolboxBitmap(typeof(C1WordDocument), "C1WordDocument.png")]
public class C1WordDocument : C1WordDocument, IComponent, IDisposable, IFlowDocument, IFlowRendering, IRendering, IRtfContent, IEnumerable
<ToolboxBitmap(GetType(C1WordDocument), "C1WordDocument.png")>
Public Class C1WordDocument
    Inherits C1WordDocument
    Implements IComponent, IDisposable, IFlowDocument, IFlowRendering, IRendering, IRtfContent, IEnumerable

Constructors

Name Description
C1WordDocument()

Creates a new instance of the C1WordDocument class.

C1WordDocument(PaperKind)

Creates a new instance of the C1WordDocument class.

C1WordDocument(PaperKind, bool)

Creates a new instance of the C1PdfDocument class.

C1WordDocument(SizeF)

Creates a new instance of the C1PdfDocument class.

Methods

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.

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 align and stretch parameters.

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, 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, 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.

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.

SetTransform(Matrix)

Sets the PDF transform (write the matrix).