DocumentCenterWindow Property
Gets or sets flag specifying whether position of the document's window will be centerd on the screen.

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public bool CenterWindow { get; set; }

Property Value

Type: Boolean
Examples
Example demonstrates how to get CenterWindow flag:
C#
Document document = new Document("sample.pdf");
bool value = document.CenterWindow;
See Also