Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / PageLayout Class / HorizontalCentered Property


In This Topic
    HorizontalCentered Property
    In This Topic
    Gets or sets if the content will be centered horizontally when the Worksheet(s) is printed.
    Syntax
    'Declaration
     
    
    Public Property HorizontalCentered As Boolean
    'Usage
     
    
    Dim instance As PageLayout
    Dim value As Boolean
     
    instance.HorizontalCentered = value
     
    value = instance.HorizontalCentered
    public bool HorizontalCentered {get; set;}
    Remarks
    The default is false, which means that the Worksheet's content will not be centered horizontally before it is printed.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also