[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.LineFormatBase

LineFormatBase Class

Represents a base outline formatting that can be applied to an object.

Inheritance
LineFormatBase
Implements
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class LineFormatBase : FormattingBag, IFixedFormattingBag
Public Class LineFormatBase
    Inherits FormattingBag
    Implements IFixedFormattingBag

Properties

Name Description
Alignment

Gets or sets the pen alignment.

BaseKey

Gets the base (this class) key for formatting properties.

CapType

Gets or sets the ending caps that should be used for this line.

CompoundType

Gets or sets the compound line type.

DashType

Gets or sets the line dash type.

Fill

Gets the fill formatting properties.

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.

JoinType

Gets or sets the line join type.

Width

Gets or sets the line width, in points.

Methods

Name Description
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.

Equals(object)
FixInheritedValues()

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

GetHashCode()
Reset()

Resets all properties to their inherited values.

Also sets IsFixed to false.