[]
        
(Showing Draft Content)

C1.Win.Word.C1WordDocument

C1WordDocument Class

Provides methods to create and save Pdf documents.

Inheritance
C1WordDocument
C1WordDocument
Implements
IFlowDocument
IFlowRendering
IRendering
IRtfContent
Namespace: C1.Win.Word
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 C1WordDocument class.

C1WordDocument(SizeF)

Creates a new instance of the C1WordDocument class.

Properties

Name Description
ParseEmfPlus

Gets or sets the flag to convert EMF PLUS metafiles to EMF ONLY metafiles or no.

Methods

Name Description
Dispose(bool)

Releases all resources used by the Control.

DrawArc(Pen, RectangleF, float, float)

Draws an arc defined by an ellipse specified by a rectangle structure and two radial lines.

DrawBezier(Pen, PointF, PointF, PointF, PointF)

Draws a Bezier spline defined by four point structures.

DrawBeziers(Pen, PointF[])

Draws a series of Bezier splines from an array of point structures.

DrawEllipse(Pen, RectangleF)

Draws an ellipse defined by a bounding rectangle specified by a rectangle structure.

DrawEllipse(Pen, float, float, float, float)

Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.

DrawImage(Image, RectangleF)

Draws the specified Image object at the specified location, stretching it to fit the destination rectangle.

DrawImage(Image, RectangleF, ContentAlignment, ImageSizeMode)

Draws the specified Image object at the specified location, adjusting the image size as specified by the align and mode parameters.

DrawImage(Image, RectangleF, ContentAlignment, ImageSizeMode)

Draws the specified Image object at the specified location, adjusting the image size as specified by the align and mode parameters.

DrawImage(Image, RectangleF, RectangleF)

Draws the specified Image 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, PointF, PointF)

Draws a line connecting two point structures.

DrawLine(Pen, float, float, float, float)

Draws a line connecting the two points specified by coordinate pairs.

DrawLines(Pen, PointF[])

Draws a series of line segments that connect an array of point structures.

DrawMetafile(Metafile)

Draw metafile image from this document.

DrawMetafile(Metafile, RectangleF)

Draw metafile image from this RTF document.

DrawMetafile(Metafile, RectangleF, RectangleF, bool, GraphicsUnit)

Draw metafile.

DrawPath(Pen, GraphicsPath)

Draws a path defined by a GraphicsPath object.

DrawPath(Pen, GraphicsPath, bool)

Draws a path defined by a GraphicsPath object.

DrawPath(Pen, PointF[], byte[], bool)

Draws a path defined by points and types.

DrawPie(Pen, RectangleF, float, float)

Draws a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.

DrawPolygon(Pen, PointF[])

Draws a polygon defined by an array of point structures.

DrawRectangle(Pen, RectangleF)

Draws a rectangle specified by a rectangle structure.

DrawRectangle(Pen, RectangleF, SizeF)

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.

DrawString(string, Font, Brush, PointF)

Draws the specified text string at the specified point with the specified Brush and Font objects.

DrawString(string, Font, Brush, PointF, StringFormat)

Draws the specified text string at the specified point with the specified Brush and Font objects using the formatting attributes of the specified StringFormat object and specified width coefficient of text characters.

DrawString(string, Font, Brush, RectangleF)

Draws the specified text string in the specified rectangle with the specified Brush and Font objects.

DrawString(string, Font, Brush, RectangleF, StringFormat)

Draws the specified text string in the specified rectangle with the specified Brush and Font objects using the formatting attributes of the specified StringFormat object.

DrawString(string, Font, Color, PointF)

Draws the specified text string at the specified point with the specified Color and Font objects.

DrawString(string, Font, Color, PointF, StringFormat)

Draws the specified text string at the specified point with the specified Brush and Font objects using the formatting attributes of the specified StringFormat object and specified width coefficient of text characters.

DrawString(string, Font, Color, RectangleF)

Draws the specified text string in the specified rectangle with the specified Color and Font objects.

DrawString(string, Font, Color, RectangleF, StringFormat)

Draws the specified text string in the specified rectangle with the specified Brush and Font objects using the formatting attributes of the specified StringFormat object.

DrawStringRtf(string, Font, Brush, RectangleF)

Draws an RTF string in the specified rectangle with the specified Brush and Font objects.

DrawStringRtf(string, Font, Brush, RectangleF, int)

Draws an RTF string in the specified rectangle with the specified Brush and Font objects, starting at a given offset within the string.

FillArc(Brush, RectangleF, float, float)

Fills an arc defined by an ellipse specified by a rectangle structure and two radial lines.

FillEllipse(Brush, RectangleF)

Fills the interior of an ellipse defined by a bounding rectangle specified by a rectangle structure.

FillEllipse(Brush, float, float, float, float)

Fills the interior of an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.

FillPath(Brush, GraphicsPath)

Fills a path defined by a GraphicsPath object.

FillPath(Brush, PointF[], byte[], bool)

Fills a path defined by points and types.

FillPie(Brush, RectangleF, float, float)

Fills a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.

FillPolygon(Brush, PointF[], FillMode)

Fills a polygon defined by an array of point structures using the specified fill mode.

FillPolygon(Color, PointF[], FillMode)

Fills a polygon defined by an array of point structures using the specified fill mode.

FillRectangle(Brush, RectangleF)

Fills the interior of a rectangle specified by a rectangle structure.

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.

MeasureString(string, Font)

Measures the specified string when drawn with a given Font object.

MeasureString(string, Font, float)

Measures the specified string when drawn with a given Font object into a rectangle with the specified width.

MeasureString(string, Font, float, StringFormat, int)

Measures the specified string when drawn with the specified Font object and formatted with the specified StringFormat object.

MeasureStringRtf(string, Font)

Measures an RTF string when drawn with a given Font object.

MeasureStringRtf(string, Font, float)

Measures an RTF string when drawn with a given Font object into a rectangle with the specified width.

MetafileToCanvas(Metafile, RectangleF, SizeF, SizeF, bool)

For internal use.

SetTransform(Matrix)

Sets the PDF transform (write the matrix).

SetTransform(Matrix)

Sets the PDF transform (write the matrix).