VegaRise.NET
Back to DOM

StyleValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies the category of a document style.

Remarks

Used by to indicate whether a style applies to a paragraph, a run of characters, a table, or a numbering scheme. Consumers use this value to determine where the style can be applied. BuiltInStyle.Type

Examples

csharp
1// 1. Paragraph style
2var style = new BuiltInStyle { StyleId = "BodyText", Type = StyleValues.Paragraph };
3
csharp
1// 2. Character style
2var style = new BuiltInStyle { StyleId = "Emphasis", Type = StyleValues.Character };
3
csharp
1// 3. Table style
2var style = new BuiltInStyle { StyleId = "GridTable", Type = StyleValues.Table };
3
csharp
1// 4. Numbering style
2var style = new BuiltInStyle { StyleId = "Numbering", Type = StyleValues.Numbering };
3

Fields

Character

Character-level (run) style.

Numbering

Numbering / list style.

Paragraph

Paragraph-level style.

Table

Table style.

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.