DocumentCenterWindow Property |
Gets or sets flag specifying whether position of the document's window will be centerd on the screen.
Namespace: Aspose.PdfAssembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntaxpublic bool CenterWindow { get; set; }
Public Property CenterWindow As Boolean
Get
Set
public:
property bool CenterWindow {
bool get ();
void set (bool value);
}
member CenterWindow : bool with get, set
Property Value
Type:
Boolean
Examples
Example demonstrates how to get CenterWindow flag:
Document document = new Document("sample.pdf");
bool value = document.CenterWindow;
See Also