[]
        
(Showing Draft Content)

C1.WPF.Word.Objects.RtfDrawingCanvas

RtfDrawingCanvas Class

The Word/RTF drawing canvas.

Inheritance
RtfDrawingCanvas
Namespace: C1.WPF.Word.Objects
Assembly: C1.WPF.Word.4.6.2.dll
Syntax
public class RtfDrawingCanvas : RtfField, ICloneable, IDocumentContent, IContent

Constructors

Name Description
RtfDrawingCanvas(RtfObject)

Create Word/RTF drawing canvas.

Properties

Name Description
Bottom

Gets or sets bottom bound of the drawing canvas.

GroupBottom

Gets or sets group bottom bound of the drawing canvas.

GroupLeft

Gets or sets group left bound of the drawing canvas.

GroupRight

Gets or sets group right bound of the drawing canvas.

GroupTop

Gets or sets group top bound of the drawing canvas.

Height

Gets height of the drawing canvas.

HorizontalPosition

Gets or sets horizontal position of the drawing canvas.

HorizontalPositionRelation

Gets or sets horizontal relation of the position of the drawing canvas.

Id

Gets a drawing canvas instance identifier.

IsBehindDocument

Gets or sets behind document flag of the drawing canvas.

IsEmpty

Gets is empty this object.

IsFlipHorizontal

Gets or sets flip horizontal flag of the drawing canvas.

IsFlipVertical

Gets or sets flip vertical flag of the drawing canvas.

Left

Gets or sets left bound of the drawing canvas.

Name

Gets a drawing canvas instance name (by default "Canvas").

Rectangle

Gets or sets a drawing canvas rectangle.

Right

Gets or sets right bound of the drawing canvas.

Shapes

Gets the shape collection of this drawing canvas.

Top

Gets or sets top bound of the drawing canvas.

VerticalPosition

Gets or sets vertical position of the drawing canvas.

VerticalPositionRelation

Gets or sets vertical relation of the position of the drawing canvas.

Width

Gets width of the drawing canvas.

Methods

Name Description
AddShape(DrawingShape)

Adds new shape using exist DrawingShape object.

GetPolygon(Point[])

Gets polygon RTF shape for points.

GetPolyline(Point[])

Gets polyline RTF shape for points.

ToString()

Every object in C# inherits the ToString method, which returns a string representation of that object.