[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Extensions

Class Extensions

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

Provides extension methods for GeometryType.

public static class Extensions
Inheritance
object
Extensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Methods

IsLineGeometry(GeometryType)

Returns a value indicating whether this geometry is a line one.

Note that line geometries do not support fills.

public static bool IsLineGeometry(this GeometryType geometry)

Parameters

geometry GeometryType

This GeometryType value.

Returns

bool

True if this is a line geometry, false otherwise.

LineEndSupported(GeometryType)

Returns a value indicating whether LineFormat's HeadEnd and TailEnd properties are supported by this geometry.

public static bool LineEndSupported(this GeometryType geometry)

Parameters

geometry GeometryType

This GeometryType value.

Returns

bool

True if HeadEnd and TailEnd are supported, false otherwise.

TextFrameSupported(GeometryType)

For a GeometryType return it is support TextFrame or not.

public static bool TextFrameSupported(this GeometryType geometry)

Parameters

geometry GeometryType

Tested GeometryType value.

Returns

bool

True if provided GeometryType allows defining TextFrame