Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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()>
<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()]
[BrowsableAttribute(false)]
public virtual SizeF ImageSize {get;}
Managed Extensions for C++ 
[DesignerSerializationVisibilityAttribute()]
[BrowsableAttribute(false)]
public: __property virtual SizeF get_ImageSize();
C++/CLI 
[DesignerSerializationVisibilityAttribute()]
[BrowsableAttribute(false)]
public:
virtual property SizeF ImageSize {
   SizeF get();
}

Return Value

The size of the current image in the viewer.

Example

Refer to BorderPadding.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also