VegaRise.NET
Back to DOM

OutlineLevelValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies the paragraph's outline (heading) level.

Remarks

Used by . Level0 is typically used for body text and Levels 1–9 for heading hierarchies. ParagraphStyle.OutlineLevel

Examples

csharp
1// 1. Body text (level 0)
2var p = new ParagraphStyle { OutlineLevel = OutlineLevelValues.Level0 };
3
csharp
1// 2. Heading 1 (level 1)
2var h1 = new ParagraphStyle { OutlineLevel = OutlineLevelValues.Level1 };
3
csharp
1// 3. Deepest heading (level 9)
2var h9 = new ParagraphStyle { OutlineLevel = OutlineLevelValues.Level9 };
3
csharp
1// 4. Apply in a heading helper method
2public ParagraphStyle CreateHeading(int level)
3{
4 return new ParagraphStyle { OutlineLevel = (OutlineLevelValues)level };
5}
6

Fields

Level0

Body text (level 0).

Level1

Level 1 heading.

Level2

Level 2 heading.

Level3

Level 3 heading.

Level4

Level 4 heading.

Level5

Level 5 heading.

Level6

Level 6 heading.

Level7

Level 7 heading.

Level8

Level 8 heading.

Level9

Level 9 heading.

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.