ImageGear .NET v24.12 - Updated
ImageFitType Property




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

Property Value

The FitType enumeration value.
Remarks

The default value is FullWidth

See Also

Reference

PageView Class
PageView Members