Search Results for

    Show / Hide Table of Contents

    Class ShapeContent

    Inheritance
    System.Object
    ContentElement
    ShapeContent
    Implements
    IronSoftware.Abstractions.IDocumentElement
    IWordPathObject
    IWordDocumentObject
    IronSoftware.IDocumentObject
    IronSoftware.IDocumentPathObject
    IronSoftware.IBoundedDocumentObject
    IronSoftware.IBounded
    IronSoftware.ITransformable
    IronSoftware.IColored
    System.ICloneable
    IronSoftware.Abstractions.IDocumentLayoutFriendly
    IronSoftware.IJsonSerializable
    Inherited Members
    ContentElement.Status
    ContentElement.Replace(ContentElement)
    ContentElement.Remove()
    ContentElement.GetIndex<T>()
    ContentElement.Clone()
    ContentElement.CloneObject()
    ContentElement.Parent
    Namespace: IronWord.Models
    Assembly: IronWord.dll
    Syntax
    public class ShapeContent : ContentElement, IDocumentElement, IWordPathObject, IWordDocumentObject, IDocumentObject, IDocumentPathObject, IBoundedDocumentObject, IBounded, ITransformable, IColored, ICloneable, IDocumentLayoutFriendly, IJsonSerializable

    Constructors

    ShapeContent()

    Declaration
    public ShapeContent()

    Properties

    AnchorStyle

    Declaration
    public LayoutAnchorStyles AnchorStyle { get; set; }
    Property Value
    Type Description
    IronSoftware.Abstractions.LayoutAnchorStyles

    Angle

    Declaration
    public double Angle { get; set; }
    Property Value
    Type Description
    System.Double

    BoundingBox

    Declaration
    public RectangleF BoundingBox { get; set; }
    Property Value
    Type Description
    System.Drawing.RectangleF

    DistanceFromBottom

    Declaration
    public double DistanceFromBottom { get; set; }
    Property Value
    Type Description
    System.Double

    DistanceFromLeft

    Declaration
    public double DistanceFromLeft { get; set; }
    Property Value
    Type Description
    System.Double

    DistanceFromRight

    Declaration
    public double DistanceFromRight { get; set; }
    Property Value
    Type Description
    System.Double

    DistanceFromTop

    Declaration
    public double DistanceFromTop { get; set; }
    Property Value
    Type Description
    System.Double

    DocumentId

    Declaration
    public IDocumentId DocumentId { get; set; }
    Property Value
    Type Description
    IronSoftware.IDocumentId

    FillColor

    Declaration
    public Color FillColor { get; set; }
    Property Value
    Type Description
    Color

    FillMode

    Declaration
    public PathFillModes FillMode { get; set; }
    Property Value
    Type Description
    IronSoftware.PathFillModes

    Height

    Declaration
    public double Height { get; set; }
    Property Value
    Type Description
    System.Double

    HorizontalAlignment

    Declaration
    public HorizontalAlignment HorizontalAlignment { get; set; }
    Property Value
    Type Description
    HorizontalAlignment

    Id

    Declaration
    public uint Id { get; set; }
    Property Value
    Type Description
    System.UInt32

    Index

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    System.Int32

    IsStroked

    Declaration
    public bool IsStroked { get; set; }
    Property Value
    Type Description
    System.Boolean

    Matrix

    Declaration
    public MatrixStruct Matrix { get; }
    Property Value
    Type Description
    IronSoftware.MatrixStruct

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    ObjNum

    Declaration
    public uint ObjNum { get; set; }
    Property Value
    Type Description
    System.UInt32

    PageIndex

    Declaration
    public uint PageIndex { get; set; }
    Property Value
    Type Description
    System.UInt32

    Points

    Declaration
    public IReadOnlyCollection<IPathSegment> Points { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyCollection<IronSoftware.IPathSegment>

    Scale

    Declaration
    public PointF Scale { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    StrokeColor

    Declaration
    public Color StrokeColor { get; set; }
    Property Value
    Type Description
    Color

    StrokeWeight

    Declaration
    public int StrokeWeight { get; set; }
    Property Value
    Type Description
    System.Int32

    Translate

    Declaration
    public PointF Translate { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    Type

    Declaration
    public ShapeType Type { get; set; }
    Property Value
    Type Description
    ShapeType

    VerticalAlignment

    Declaration
    public VerticalAlignment VerticalAlignment { get; set; }
    Property Value
    Type Description
    VerticalAlignment

    Width

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    WrapText

    Declaration
    public WrapText WrapText { get; set; }
    Property Value
    Type Description
    WrapText

    ZOrder

    Declaration
    public LayoutZOrders ZOrder { get; set; }
    Property Value
    Type Description
    IronSoftware.Abstractions.LayoutZOrders

    Methods

    FlipHorizontal()

    Declaration
    public void FlipHorizontal()

    FlipVertical()

    Declaration
    public void FlipVertical()

    GetDistanceFromBottom(Units)

    Declaration
    public double GetDistanceFromBottom(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetDistanceFromLeft(Units)

    Declaration
    public double GetDistanceFromLeft(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetDistanceFromRight(Units)

    Declaration
    public double GetDistanceFromRight(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetDistanceFromTop(Units)

    Declaration
    public double GetDistanceFromTop(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetHeight(Units)

    Declaration
    public double GetHeight(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetWidth(Units)

    Declaration
    public double GetWidth(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    Resize(Int32, Int32)

    Declaration
    public void Resize(int width, int height)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height

    Rotate(Double)

    Declaration
    public void Rotate(double angle)
    Parameters
    Type Name Description
    System.Double angle

    SetDistanceFromBottom(Double, Units)

    Declaration
    public void SetDistanceFromBottom(double distanceFromBottom, Units measurementUnit)
    Parameters
    Type Name Description
    System.Double distanceFromBottom
    Units measurementUnit

    SetDistanceFromLeft(Double, Units)

    Declaration
    public void SetDistanceFromLeft(double distanceFromLeft, Units measurementUnit)
    Parameters
    Type Name Description
    System.Double distanceFromLeft
    Units measurementUnit

    SetDistanceFromRight(Double, Units)

    Declaration
    public void SetDistanceFromRight(double distanceFromRight, Units measurementUnit)
    Parameters
    Type Name Description
    System.Double distanceFromRight
    Units measurementUnit

    SetDistanceFromTop(Double, Units)

    Declaration
    public void SetDistanceFromTop(double distanceFromTop, Units measurementUnit)
    Parameters
    Type Name Description
    System.Double distanceFromTop
    Units measurementUnit

    SetHeight(Double, Units)

    Declaration
    public void SetHeight(double height, Units measurementUnit)
    Parameters
    Type Name Description
    System.Double height
    Units measurementUnit

    SetWidth(Double, Units)

    Declaration
    public void SetWidth(double width, Units measurementUnit)
    Parameters
    Type Name Description
    System.Double width
    Units measurementUnit

    ToJson()

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    Implements

    IronSoftware.Abstractions.IDocumentElement
    IWordPathObject
    IWordDocumentObject
    IronSoftware.IDocumentObject
    IronSoftware.IDocumentPathObject
    IronSoftware.IBoundedDocumentObject
    IronSoftware.IBounded
    IronSoftware.ITransformable
    IronSoftware.IColored
    System.ICloneable
    IronSoftware.Abstractions.IDocumentLayoutFriendly
    IronSoftware.IJsonSerializable

    Inherited members

    Status
    Replace(ContentElement)
    Remove()
    GetIndex<T>()
    Clone()
    CloneObject()
    Parent
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronWord to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronWord free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.