ImageGear .NET v25.2 - Updated
ImageGear.Web Assembly / ImageGear.Web.UI Namespace / PageView Class / ImageFitType Property




In This Topic
    ImageFitType Property
    In This Topic
    Gets or sets the initial Fit Type for the image to be displayed in the Viewer control.
    Syntax
    'Declaration
     
    <CategoryAttribute("PageView Properties")>
    <BrowsableAttribute(True)>
    <DescriptionAttribute("An enumeration value which represents the initial Fit Type for the image to be displayed in the Viewer control.")>
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property ImageFitType As FitType
    'Usage
     
    Dim instance As PageView
    Dim value As FitType
     
    instance.ImageFitType = value
     
    value = instance.ImageFitType
    [Category("PageView Properties")]
    [Browsable(true)]
    [Description("An enumeration value which represents the initial Fit Type for the image to be displayed in the Viewer control.")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public FitType ImageFitType {get; set;}
    [Category("PageView Properties")]
    [Browsable(true)]
    [Description("An enumeration value which represents the initial Fit Type for the image to be displayed in the Viewer control.")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public: __property FitType get_ImageFitType();
    public: __property void set_ImageFitType( 
       FitType value
    );
    [Category("PageView Properties")]
    [Browsable(true)]
    [Description("An enumeration value which represents the initial Fit Type for the image to be displayed in the Viewer control.")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public:
    property FitType ImageFitType {
       FitType get();
       void set (    FitType value);
    }

    Property Value

    The FitType enumeration value.
    Remarks

    The default value is FullWidth

    See Also