ViewerPreferencesCenterWindow Property

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Gets or sets a flag specifying whether to position the document’s window in the center of the screen. Default value: false.

Namespace:  Apitron.PDF.Kit.FixedLayout
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public bool CenterWindow { get; set; }

Property Value

Type: Boolean
true if center window; otherwise, false.
Examples

C#
// this objects represents a PDF fixed document
FixedDocument document = new FixedDocument(inPdf);

// change viewer preferences
document.ViewerPreferences.CenterWindow = true;
See Also

Reference