NumberingSchema.GetNumberingSchema
Method
Description:
Returns an instance of the specified Numbering Schema in the given document.
Returns an instance of the specified Numbering Schema in the given document.
Syntax
public static NumberingSchema GetNumberingSchema(
Document document,
NumberingSchemaType schemaType
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | A document to get the numbering schema from. |
| schemaType | NumberingSchemaType | The type of a built-in schema to get. |
Return Value
| Type | Description |
|---|---|
| NumberingSchema | Instance of the specified schema. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The given schemaType has an invalid Id. |
| ArgumentNullException | A non-optional argument was null |