Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ShapePosition Class
Properties Methods

In This Topic
    ShapePosition Class Members
    In This Topic

    The following tables list the members exposed by ShapePosition.

    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether a shape that intersects another shape at display time is allowed to overlap the content of the other shape. If the shape cannot overlap another shape, it shall be repositioned when displayed to prevent this overlap as needed.

    If WrapFormat.Type is WrapType.Inline, this value does not have any effect when displaying the object, but can be maintained and used if the object is subsequently changed to floating.

     
    Public Property Gets the horizontal position of a floating shape within a document.  
    Public PropertyGets or sets a value indicating whether a shape is positioned relative to a cell.

    If WrapFormat.Type is WrapType.Inline, this value does not have any effect when displaying the object, but can be maintained and used if the object is subsequently changed to floating.

    When this property is true, the shape is positioned within the existing table cell, causing the cell to be resized as needed. This means that all positioning is relative to the cell and not the line on which the table appears.

    When this property is false, the shape is positioned as specified, but the table is resized and/or relocated within the document as needed to accommodate the object. This means that all positioning shall be relative to the line on which the table appears and not the cell in which the anchor is present.

     
    Public PropertyGets or sets a value indicating whether the anchor location for a shape shall not be modified at runtime when an application edits the contents of this document.

    If WrapFormat.Type is WrapType.Inline, this value does not have any effect when displaying the object, but can be maintained and used if the object is subsequently changed to floating.

    An application might have automatic behaviors that reposition the anchor for a shape based on user interaction - for example, moving it from one page to another as needed. This property must tell applications not to perform any such behaviors.

     
    Public Property Gets the vertical position of a floating shape within a document.  
    Public PropertyGets or sets the relative Z-order of a shape in a document.

    If WrapFormat.Type is WrapType.Inline, this value does not have any effect when displaying the object, but can be maintained and used if the object is subsequently changed to floating.

    Each floating shape has a Z-ordering value that determines which shape is displayed when any two objects intersect. Higher values indicate higher Z-order; lower values indicate lower Z-order.

    This property only indicates the Z-order with respect to other shapes in the document that have an identical WrapFormat.BehindText value. All shapes with a WrapFormat.BehindText value of false are displayed above elements with a value of true.

     
    Top
    Public Methods
     NameDescription
    Public Method Clears direct formatting in the object. (Inherited from GrapeCity.Documents.Word.FormattingBag)
    Top
    See Also