[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ShapeSize

Class ShapeSize

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents the size of a shape.

public class ShapeSize : FormattingBag
Inheritance
object
ShapeSize
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

EffectExtent

Gets the additional extent that is added to each edge of a shape (top, bottom, left, right) in order to compensate for any drawing effects applied to the shape.

If the shape is nested inside another shape, this value does not have any effect when displaying the object, but can be maintained and used if the object is subsequently ungrouped.

public EdgeExtent EffectExtent { get; }

Property Value

EdgeExtent

Remarks

The Height and Width properties specify the size of the actual shape; however, an object can have effects applied that change its overall size, for example a reflection and/or shadow effect. The additional size for each edge of the shape is stored in this property, and used to calculate the appropriate wrapping for wrap types without a wrapping polygon and the appropriate line height for inline objects.

Height

Gets the final height (the result of any scaling of the original object) of a shape.

public ShapeHeight Height { get; }

Property Value

ShapeHeight

Width

Gets the final width (the result of any scaling of the original object) of a shape.

public ShapeWidth Width { get; }

Property Value

ShapeWidth