Class RevisionAutoFormat
Represents a revision that applies an auto format to a range.
Maps to the OOXML CT_RevisionAutoFormatting (element raf).
Inherited Members
Namespace: DRIT.Spreadsheet.Revisions
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RevisionAutoFormat : Revision
Constructors
RevisionAutoFormat()
Represents a revision that applies an auto format to a range.
Maps to the OOXML CT_RevisionAutoFormatting (element raf).
Declaration
public RevisionAutoFormat()
Properties
ApplyAlignmentFormats
Indicates whether alignment formats are applied.
Declaration
public bool? ApplyAlignmentFormats { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ApplyBorderFormats
Indicates whether border formats are applied.
Declaration
public bool? ApplyBorderFormats { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ApplyFontFormats
Indicates whether font formats are applied.
Declaration
public bool? ApplyFontFormats { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ApplyNumberFormats
Indicates whether number formats are applied.
Declaration
public bool? ApplyNumberFormats { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ApplyPatternFormats
Indicates whether pattern formats are applied.
Declaration
public bool? ApplyPatternFormats { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ApplyWidthHeightFormats
Indicates whether width/height formats are applied.
Declaration
public bool? ApplyWidthHeightFormats { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
AutoFormatId
Specifies the built-in auto format identifier. Maps to autoFormatId.
Declaration
public uint? AutoFormatId { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
Range
Specifies the cell range the auto format was applied to.
Declaration
public string Range { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SheetId
Specifies the sheet identifier the auto format applies to.
Declaration
public uint SheetId { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
Type
Gets the kind of change recorded by this revision.
Declaration
public override RevisionType Type { get; }
Property Value
| Type | Description |
|---|---|
| RevisionType |