Spread WPF Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / PdfExportSettings Class / CenterWindow Property


In This Topic
    CenterWindow Property
    In This Topic
    Gets or sets a value that specifies whether to center the document in the window.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(False)>
    Public Property CenterWindow As Boolean
    'Usage
     
    Dim instance As PdfExportSettings
    Dim value As Boolean
     
    instance.CenterWindow = value
     
    value = instance.CenterWindow
    [DefaultValue(false)]
    public bool CenterWindow {get; set;}

    Property Value

    true if the document is to be centered in the display window; otherwise, false. The default value is false.
    See Also