[]
Represents fill formatting for a content object.
public class FillFormat : FormattingBag, IFixedFormattingBag
public GradientFill GradientFill { get; }
public ImageData ImageFill { get; }
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; }
public PatternFill PatternFill { get; }
public SolidColor SolidFill { get; }
Gets or sets the fill type.
public FillType Type { get; set; }
Sets the GrapeCity.Documents.Word.FillFormat.FillSource to GrapeCity.Documents.Word.FillSource.Group.
Note that this is set even if the shape is not in a group.
public bool ApplyGroupFill()
True if this object is grouped (has a GroupShape parent), false otherwise.
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()
public bool Equals(FillFormat other)
other
FillFormatpublic override bool Equals(object obj)
obj
objectFixes all inherited values as "direct" values for this instance.
protected override void FixInheritedValues()
public override int GetHashCode()
Resets all properties to their inherited values.
Also sets IsFixed to false.
public void Reset()