VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Print Namespace / ImagePrintDocument Class / UseImageAutoOrienation Property
Syntax Remarks Requirements SeeAlso
In This Topic
    UseImageAutoOrienation Property (ImagePrintDocument)
    In This Topic
    Gets or sets a value indicating whether the print document must select the image orientation automatically by aspect ratio of image and printable area (only in BestFit mode).
    Syntax
    'Declaration
    
    <CategoryAttribute("VintaSoft")>
    <DefaultValueAttribute(False)>
    <DescriptionAttribute("A value indicating whether the print document must select the image orientation automatically by aspect ratio of image and printable area (only in BestFit mode).")>
    Public Property UseImageAutoOrienation As Boolean
    
    
    [Category("VintaSoft")]
    [DefaultValue(False)]
    [Description("A value indicating whether the print document must select the image orientation automatically by aspect ratio of image and printable area (only in BestFit mode).")]
    public bool UseImageAutoOrienation { get; set; }
    
    
    [Category("VintaSoft")]
    [DefaultValue(False)]
    [Description("A value indicating whether the print document must select the image orientation automatically by aspect ratio of image and printable area (only in BestFit mode).")]
    public: __property bool get_UseImageAutoOrienation();
    public: __property void set_UseImageAutoOrienation(
    bool value
    );
    [Category("VintaSoft")]
    [DefaultValue(False)]
    [Description("A value indicating whether the print document must select the image orientation automatically by aspect ratio of image and printable area (only in BestFit mode).")]
    public:
    property bool UseImageAutoOrienation { bool get(); void set(bool value); }

    Property Value

    True - image orientation is selected automatically by aspect ratio of image and printable area (only in BestFit mode); false - image orientation is not changed.
    Default value is false.
    Remarks

    This property affects only in PrintScaleMode.BestFit mode.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also