LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ImageSize Property
See Also 
Leadtools.WinForms Namespace > RasterImageViewer Class : ImageSize Property



Gets the size of the current image in the viewer.

Syntax

Visual Basic (Declaration) 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
Public Overridable ReadOnly Property ImageSize As SizeF
Visual Basic (Usage)Copy Code
Dim instance As RasterImageViewer
Dim value As SizeF
 
value = instance.ImageSize
C# 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
public virtual SizeF ImageSize {get;}
C++/CLI 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
public:
virtual property SizeF ImageSize {
   SizeF get();
}

Property Value

The size of the current image in the viewer.

Example

Refer to BorderPadding.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also