[]
Represents fill formatting for a content object.
public class FillFormat : FormattingBag, IFixedFormattingBag
Public Class FillFormat
Inherits FormattingBag
Implements IFixedFormattingBag
Name | Description |
---|---|
GradientFill | Gets the gradient fill. This property has effect only if the Type of this fill format is Gradient. |
ImageFill | Gets the image fill. This property has effect only if the Type of this fill format is Image. |
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. |
PatternFill | Gets the pattern fill. This property has effect only if the Type of this fill format is Pattern. |
SolidFill | Gets the solid color fill. This property has effect only if the Type of this fill format is Solid. |
Type | Gets or sets the fill type. |
Name | Description |
---|---|
ApplyGroupFill() | 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. |
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(FillFormat) | |
Equals(object) | |
FixInheritedValues() | Fixes all inherited values as "direct" values for this instance. |
GetHashCode() | |
Reset() | Resets all properties to their inherited values. |