[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ThreeDFormat

Class ThreeDFormat

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

Represents a 3D format effect that can be applied to an object.

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

Properties

BottomBevel

Gets a bevel on the bottom or back face of an object.

public Bevel BottomBevel { get; }

Property Value

Bevel

Contour

Gets a contour of an object which is a solid filled line which surrounds the outer edges of the object.

public ColoredLine Contour { get; }

Property Value

ColoredLine

Depth

Gets an extrusion on an object which is an artificial height applied to the geometry.

public ColoredLine Depth { get; }

Property Value

ColoredLine

DistanceFromGround

Gets or sets the object distance from the ground.

Allowed values are from -400 to 400, inclusive.

Default value is 0.

Note that this property cannot be applied for text.

public float DistanceFromGround { get; set; }

Property Value

float

IsFixed

Gets a value indicating whether the formatting is fixed in the class instance level.

If true, any formatting changes on an ancestor level of the same class will be ignored.

If false, changing a property on an ancestor level will apply to this level too.

For example, changing a property of Fill on style level will change that property only for those Runs that have IsFixed equal to false.

public bool IsFixed { get; }

Property Value

bool

Material

Gets or sets a preset material type to give the final look and feel of an object.

Default value is NoMaterial.

public MaterialType Material { get; set; }

Property Value

MaterialType

TopBevel

Gets a bevel on the top or front face of an object.

public Bevel TopBevel { get; }

Property Value

Bevel

Methods

Clean()

Sets all properties to their default values.

Also sets IsFixed to true if any properties of this class are defined on an ancestor level.

public void Clean()

FixInheritedValues()

Fixes all inherited values as "direct" values for this instance.

protected override void FixInheritedValues()

Reset()

Resets all properties to their inherited values.

Also sets IsFixed to false.

public void Reset()