[]
Represents a Word/RTF document.
public class C1WordDocument : Component, IComponent, IDisposable, IFlowDocument, IFlowRendering, IRendering, IRtfContent, IEnumerable
| Name | Description |
|---|---|
| C1WordDocument() | Create new ComponentOne Word/RTF document. |
| C1WordDocument(PaperKind, bool) | Create new ComponentOne Word/RTF document with known paper kind. |
| Name | Description |
|---|---|
| BottomMargin | Gets or sets a bottom margin of this document. |
| ClientRectangle | Gets client rectangle of this document. |
| ClipBounds | Gets and sets clipping area as rectangle bounds. |
| ClipRect | Gets clipping area as rectangle bounds. |
| Count | Gets count of objects of a main section of this document. |
| Creator | Gets or sets creator (generator) name of this document. |
| Current | Gets current object of this document. |
| CurrentAlignment | Gets or sets current horizontal alignment of this document. |
| CurrentCanvas | Gets or sets current drawing canvas of this document. |
| CurrentColor | Gets current color of this document. |
| CurrentCulture | Gets or sets current culture of this document. |
| CurrentFont | Gets current font of this document. |
| CurrentPage | Gets or sets current page number for this document. |
| CurrentPen | Gets current pen of this document. |
| CurrentSection | Gets current section of this document. |
| CurrentShape | Gets current shape of this document. |
| FitShapesToText | Gets or sets a value specifying whether will the fit the shape by size for the text value on all drawing canvases of this document. |
| Hyperlink | Gets or sets current hyperlink for all adds objects for this document. |
| Info | Gets information interface for this document. |
| Landscape | Gets or sets landscape flag of a page for this document. |
| LeftIndent | Gets or sets a current left indent of this document. |
| LeftMargin | Gets or sets a left margin of this document. |
| ListLevelIndent | Gets or sets a current indent for one level of a list of this document. |
| MainSection | Gets the main section of this document. |
| PageCount | Gets the count of pages in the document. |
| PageSize | Gets or sets a page size for this document. |
| PaperKind | Gets or sets the default page size for the document. |
| RightIndent | Gets or sets a current right indent of this document. |
| RightMargin | Gets or sets a right margin of this document. |
| RotateAngle | Gets or sets the rotate angle for drawing simple objects for the document in degree (from -360 to 360). |
| ShapesWord2007Compatible | Gets or sets a value indicating whether shapes are rendered in a format backwards compatible with Word 2007. By default (if false), Word 2010 shapes format is used. |
| TopMargin | Gets or sets a top margin of this document. |
| Version | Gets or sets Word/RTF version number for this document. |
| Name | Description |
|---|---|
| Add(RtfObject) | Add Word/RTF object for this document. |
| AddBookmark(string) | Add bookmark (start and end) into this document in next position. |
| AddBookmarkEnd(string) | Add end bookmark into this document in next position. |
| AddBookmarkStart(string) | Add start bookmark into this document in next position. |
| AddCanvas(RectangleF) | Add drawing canvas into this document (for current section) in next position. |
| AddLink(string) | Add hyperlink into this document in next position. |
| AddLink(string, IRtfContent) | Add hyperlink into this document in next position. |
| AddListTexts(RtfListType, params KeyValuePair<int, string>[]) | Adds tests in a list. |
| AddParagraph(string) | Add paragraph into this document in next position. |
| AddParagraph(string, Font) | Add paragraph into this document in next position. |
| AddParagraph(string, Font, Color) | Add paragraph into this document in next position. |
| AddParagraph(string, Font, Color, RtfHorizontalAlignment) | Add paragraph into this document in next position. |
| AddPicture(Image) | Add (draw) image/bitmap with content alignment. |
| AddPicture(Image, ShapeWrapType, ZIndexType) | Add image/bitmap with shape wrap and z-index. |
| AddPicture(Image, RtfHorizontalAlignment) | Add (draw) image/bitmap with content alignment. |
| AddShape(DrawingShape) | Add Word/RTF object for this document. |
| Clear() | Clear this document, reset content. |
| ColumnBreak() | Add new column to this document. |
| CutDocument(float, float) | |
| DrawArc(Pen, RectangleF, float, float) | Draw arc from this document. |
| DrawBeziers(Pen, PointF[]) | Draw Bezier curve from this document. |
| DrawDocument(C1WordDocument, RectangleF, float) | Draws a Word document in the specified rectangle. |
| DrawEllipse(Pen, RectangleF) | Draw ellipse from this document. |
| DrawEllipse(Pen, float, float, float, float) | Draw ellipse from this document. |
| DrawImage(Image, RectangleF) | Draw image/bitmap with content alignment. |
| DrawImage(Image, RectangleF, ContentAlignment, ImageSizeMode) | Draws the specified GrapeCity.Documents.Drawing.Image object at the specified location,
adjusting the image size as specified by the |
| DrawImage(Image, RectangleF, RectangleF) | Draw image/bitmap with content alignment. |
| DrawLine(Pen, PointF, PointF) | Draw line from this document. |
| DrawLine(Pen, float, float, float, float) | Draw line from this document. |
| DrawLines(Pen, PointF[]) | Draw lines from this document. |
| DrawParagraph(RectangleF, RtfParagraph, bool) | Draw paragraph into this document in next position. |
| DrawPath(Pen, PointF[], byte[], bool) | Draws a path defined by points and types. |
| DrawPie(Pen, RectangleF, float, float) | Draw pie from this document. |
| DrawPolygon(Pen, PointF[]) | Draw polygon from this document. |
| DrawPolyline(Pen, PointF[]) | Draw polyline from this document. |
| DrawRectangle(Pen, RectangleF) | Draw rectangle from this document. |
| DrawRectangle(Pen, RectangleF, SizeF) | Draw round rectangle from this document. |
| DrawRectangle(Pen, float, float, float, float) | Draw rectangle from this document. |
| DrawSheet(XLSheet, RectangleF, float) | Draws an Excel sheet in the specified rectangle. |
| 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, RectangleF) | Draw text string into this document in next position. |
| DrawString(string, Font, Color, RectangleF, StringFormat) | Draw text string into this document in next position. |
| DrawString(string, RectangleF) | Draw text string into this document in next position. |
| DrawStringHtml(string, Font, Color, RectangleF, float) | Draws an HTML string in the specified rectangle with the specified GrapeCity.Documents.Drawing.Brush and Font objects, starting at a given offset within the string. |
| DrawStringRtf(string, Font, Color, RectangleF, float) | Draws an RTF string in the specified rectangle with the specified GrapeCity.Documents.Drawing.Brush and Font objects, starting at a given offset within the string. |
| DrawSvg(string, RectangleF) | Draw SVG data with content alignment. |
| DrawSvg(string, RectangleF, ContentAlignment, ImageSizeMode) | Draws the specified SVG data at the specified location,
adjusting the SVG size as specified by the |
| DrawSvg(string, RectangleF, RectangleF) | Draw SVG data with content alignment. |
| FillArc(Color, RectangleF, float, float) | Draw arc from this document. |
| FillBeziers(Color, PointF[]) | Fill Bezier curve from this document. |
| FillEllipse(Color, RectangleF) | Fill ellipse from this document. |
| FillEllipse(Color, float, float, float, float) | Fill ellipse from this document. |
| FillPath(Color, PointF[], byte[], bool) | Fills a path defined by points and types. |
| FillPie(Color, RectangleF, float, float) | Fill pie from this document. |
| FillPolygon(Color, PointF[], FillMode) | Fill polygon from this document. |
| FillRectangle(Color, RectangleF) | Fill rectangle from this document. |
| FillRectangle(Color, RectangleF, SizeF) | Fill round rectangle from this document. |
| FillRectangle(Color, float, float, float, float) | Fill rectangle from this document. |
| GetEnumerator() | Exposes the enumerator, which supports a simple iteration over a non-generic collection. |
| GetParagraph(Font) | Get paragraph with the empty text and string format for this document. |
| GetParagraph(string) | Get paragraph for the text for this document. |
| GetParagraph(string, Font) | Get paragraph for the text for this document. |
| GetParagraph(string, Font, StringFormat) | Get paragraph for the text and string format for this document. |
| GetParagraph(string, Font, StringFormat, float) | Get paragraph for the text and string format for this document. |
| GetParagraph(string, StringFormat) | Get paragraph for the text and string format for this document. |
| GetParagraph(string, StringFormat, float) | Get paragraph for the text and string format for this document. |
| LineBreak() | Add new line to this document. |
| Load(string) | Load document from the file with file name. |
| LoadAsync(string) | Asynchronous load document from the file with file name. |
| LoadFromOpenXml(Stream) | Load document from the readable Open XML stream. |
| LoadFromOpenXml(string) | Load document from the file in Open XML format. |
| LoadFromOpenXmlAsync(string) | Asynchronous load document from the file in Open XML format. |
| LoadFromRtf(Stream) | Load document from the readable RTF stream. |
| LoadFromText(Stream) | Load document from the readable text stream. |
| MeasureDocument(C1WordDocument, float) | Measures a Word document into a rectangle with the specified width. |
| MeasureExpand(string, Font, double) | Measure expand value (spacing between characters) for the text of this document. |
| MeasureFontSize(string, Font, double) | Measure font size for the text of this document. |
| MeasureString(string, Font) | Measure string for this document. |
| MeasureString(string, Font, float) | Measure string for this document. |
| MeasureString(string, Font, float, StringFormat) | Measure string for this document. |
| MeasureString(string, Font, float, StringFormat, int) | Measure string for this document. |
| MeasureStringHtml(string, Font, float) | Measures an HTML string when drawn with a given Font object into a rectangle with the specified width. |
| MeasureStringRtf(string, Font, float) | Measures an RTF string when drawn with a given Font object into a rectangle with the specified width. |
| Merging(C1WordDocument) | The merging of this document and other. |
| Merging(C1WordDocument, IRtfContent) | The merging of this document and other to content. |
| NewPage() | Starts a new page. |
| PageBreak(bool) | Add new page to this document. |
| ParseRtfText(string) | Parse a RTF text and added to this document content. |
| PopClip() | Pop the clip rectangle. |
| PushClipPath(double[], double[], byte[]) | Push the clip path defined by points and types. |
| PushClipRect(double, double, double, double) | Push the clip rectangle. |
| PushClipRect(RectangleF) | Push the clip rectangle. |
| ResetClipRect() | Restores the clipping area to the state before the last call to SetClipRect(RectangleF). |
| Save(Stream, FileFormat) | Save this document to the stream. |
| Save(Stream, string) | Save this document to the stream. |
| Save(string) | Save this document to the file with file name. |
| SaveAsync(string) | Save this document to the file with file name. |
| SaveToOpenXml(Stream) | Save this document to the writable XML stream. |
| SaveToOpenXml(string) | Save this document to the writable Open XML stream. |
| SaveToOpenXmlAsync(string) | Save this document to the writable Open XML stream. |
| SaveToRtf(Stream) | Save this document to a writable RTF stream. |
| SaveToText(Stream) | Save this document to a writable text stream. |
| SaveToXml(Stream) | Save this document to the writable XML stream. |
| SetClipRect(RectangleF) | Sets a clipping area of this document. |
| SetColor(Color) | Sets current color. |
| SetFont(Font, bool) | Sets current and/or default font. |
| SetPageSettings(SizeF, SizeF) | Set current page settings from this document. |
| SetPen(Pen) | Sets current pen. |
| SetTransform(Matrix3x2) | Sets the PDF transform (write the matrix). |
| ShapeFillOpacity(int) | Set opacity for current Word/RTF shape. |
| ShapeHyperlink(string) | Set hyperlink source for current Word/RTF shape. |
| ShapeRotation(float) | Set rotation for current Word/RTF shape. |
| ToHtmlText() | Gets a HTML text for this document content. |
| ToPixels(RectangleF) | Converts points to pixels. |
| ToPixels(SizeF) | Converts points to pixels. |
| ToPixels(float) | Converts points to pixels. |
| ToPoints(RectangleF) | Converts pixels to points. |
| ToPoints(SizeF) | Converts pixels to points. |
| ToPoints(float) | Converts pixels to points. |
| ToRtfText() | Gets a RTF text for this document content. |
| Name | Description |
|---|---|
| RtfPageAdded | The added page for Word/RTF document event. |