menu

Document Processing

WCanvas Class - C# Word Library API Reference | Syncfusion

    Show / Hide Table of Contents

    WCanvas Class

    Represents a canvas element in a Word document that can contain multiple drawing objects.

    Inheritance
    System.Object
    OwnerHolder
    Syncfusion.DocIO.DLS.XML.XDLSSerializableBase
    Entity
    WidgetBase
    ParagraphItem
    ShapeCommon
    ShapeBase
    WCanvas
    Implements
    IParagraphItem
    IOfficeRun
    IEntity
    Inherited Members
    Entity.Clone()
    Entity.IsComposite
    Entity.NextSibling
    Entity.Owner
    Entity.PreviousSibling
    OwnerHolder.Document
    OwnerHolder.m_doc
    ParagraphItem.ApplyStyle(String)
    ParagraphItem.CloneRun()
    ParagraphItem.Dispose()
    ParagraphItem.IsDeleteRevision
    ParagraphItem.IsInsertRevision
    ParagraphItem.m_charFormat
    ParagraphItem.OwnerMathRunElement
    ParagraphItem.OwnerParagraph
    ShapeBase.HorizontalAlignment
    ShapeBase.HorizontalOrigin
    ShapeBase.HorizontalPosition
    ShapeBase.IsBelowText
    ShapeBase.LockAnchor
    ShapeBase.VerticalAlignment
    ShapeBase.VerticalOrigin
    ShapeBase.VerticalPosition
    ShapeBase.Visible
    ShapeBase.WrapFormat
    ShapeCommon.AlternativeText
    ShapeCommon.Height
    ShapeCommon.HeightScale
    ShapeCommon.Item[Int32]
    ShapeCommon.Name
    ShapeCommon.Title
    ShapeCommon.Width
    ShapeCommon.WidthScale
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    public class WCanvas : ShapeBase, IXDLSSerializable, IParagraphItem, IOfficeRun, IEntity, ILeafWidget, IWidget

    Properties

    EntityType

    Gets the type of the entity, which is Canvas in this case.

    Declaration
    public override EntityType EntityType { get; }
    Property Value
    Type Description
    EntityType

    A value of the EntityType enumeration that represents the entity type.

    Overrides
    Entity.EntityType

    Methods

    CloneImpl()

    Creates a duplicate copy of the WCanvas.

    Declaration
    protected override object CloneImpl()
    Returns
    Type Description
    System.Object

    The reference of the newly created object.

    Overrides
    ShapeBase.CloneImpl()

    CreateLayoutInfo()

    Creates the layout information for the canvas.

    Declaration
    protected override void CreateLayoutInfo()
    Overrides
    WidgetBase.CreateLayoutInfo()

    Implements

    IParagraphItem
    IOfficeRun
    IEntity
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved