VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Print Namespace / ImagePrintDocument Class / Center Property



In This Topic
    Center Property (ImagePrintDocument)
    In This Topic
    Gets or sets a value indicating whether the bitmap is centered.
    Syntax
    'Declaration
     
    <CategoryAttribute("VintaSoft")>
    <DescriptionAttribute("Indicates whether the bitmap is centered.")>
    Public Property Center As Boolean
    [Category("VintaSoft")]
    [Description("Indicates whether the bitmap is centered.")]
    public bool Center {get; set;}
    [Category("VintaSoft")]
    [Description("Indicates whether the bitmap is centered.")]
    public: __property bool get_Center();
    public: __property void set_Center( 
       bool value
    );
    [Category("VintaSoft")]
    [Description("Indicates whether the bitmap is centered.")]
    public:
    property bool Center {
       bool get();
       void set (    bool value);
    }

    Property Value

    Default value is false.
    Remarks
    Printed images will not be centered if PrintScaleMode property set to PrintScaleMode false.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also