[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TextEffects

Class TextEffects

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

Represents a text effects formatting that can be applied to an object.

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

Properties

Glow

Gets the glow effect formatting.

public Glow Glow { get; }

Property Value

Glow

Reflection

Gets the reflection effect formatting.

public Reflection Reflection { get; }

Property Value

Reflection

Shadow

Gets the shadow effect formatting.

public OuterShadow Shadow { get; }

Property Value

OuterShadow

ThreeDFormat

Gets the 3D format effect.

Note: returns null for CanvasShape and GroupShape.

public ThreeDFormat ThreeDFormat { get; }

Property Value

ThreeDFormat

ThreeDScene

Gets the 3D scene effect.

Note: returns null for CanvasShape.

public ThreeDScene ThreeDScene { get; }

Property Value

ThreeDScene

Methods

ApplyBuiltInGlow(BuiltInGlowId)

Applies a built-in glow to the object.

public void ApplyBuiltInGlow(BuiltInGlowId glowId)

Parameters

glowId BuiltInGlowId

The BuiltInGlowId to apply.

ApplyBuiltInGlowInt(BuiltInGlowId)

Applies built-in glow to the object.

protected virtual void ApplyBuiltInGlowInt(BuiltInGlowId glowId)

Parameters

glowId BuiltInGlowId

A BuiltInGlowId to apply.

ApplyBuiltInReflection(BuiltInReflectionId)

Applies a built-in reflection to the object.

public void ApplyBuiltInReflection(BuiltInReflectionId reflectionId)

Parameters

reflectionId BuiltInReflectionId

The BuiltInReflectionId to apply.

ApplyBuiltInReflectionInt(BuiltInReflectionId)

Applies built-in reflection to the object.

protected virtual void ApplyBuiltInReflectionInt(BuiltInReflectionId reflectionId)

Parameters

reflectionId BuiltInReflectionId

A BuiltInReflectionId to apply.

ApplyBuiltInShadow(BuiltInShadowId)

Applies a built-in shadow to the object.

public void ApplyBuiltInShadow(BuiltInShadowId shadowId)

Parameters

shadowId BuiltInShadowId

The BuiltInShadowId to apply.

ApplyBuiltInShadowInt(BuiltInShadowId)

Applies built-in shadow to the object.

protected virtual void ApplyBuiltInShadowInt(BuiltInShadowId shadowId)

Parameters

shadowId BuiltInShadowId

A BuiltInShadowId to apply.

Clean()

Sets all effects to default values.

public virtual void Clean()

Equals(object)

public override bool Equals(object fmt)

Parameters

fmt object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

HasDirectFormatting(string, string)

Gets whether the direct formatting contains any data for an object with specified keys.

protected override bool HasDirectFormatting(string parentKey, string baseKey)

Parameters

parentKey string

The parent key of the object.

baseKey string

The base key of the object.

Returns

bool

true if the direct formatting is applied to the object with specified keys.

Reset()

Resets all effects to inherited defaults.

public void Reset()