←Select platform

CenterWindow Property

Summary

Indicates if the initial view should center the document in the window

Syntax
C#
VB
Objective-C
C++
Java
public bool CenterWindow { get; set; } 
Public Property CenterWindow As Boolean 
@property (nonatomic, assign) BOOL centerWindow 
public boolean getCenterWindow() 
public void setCenterWindow(boolean centerWindow) 
public: 
property bool CenterWindow { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true if initial view should center the document in the window, otherwise; false. Default value is false.

Example

For an example, refer to PdfDocumentOptions.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly