Skip to content

PdfViewerPreferences.CenterWindow Property

Gets or sets a value indicating whether to position the document's window in the center of the screen.

C#
public bool CenterWindow { get; set; }

Property Value

Boolean

If true, the document's window is position in the center of the screen.