XpsDocument.AddDocument

AddDocument(bool)

Adds an empty document with default page size.

public void AddDocument(bool activate = true)
ParameterTypeDescription
activateBooleanFlag indicating whether to select added document as active.

See Also


AddDocument(float, float, bool)

Adds an empty document with the first page dimensions width and height.

public void AddDocument(float width, float height, bool activate = true)
ParameterTypeDescription
widthSingleWidth of the first page.
heightSingleHeight of the first page.
activateBooleanFlag indicating whether to select added document as active.

See Also