LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

SourceRectangle Property (RasterImageViewer)






Represents the part of the image to use as the display source.
Syntax
[BrowsableAttribute(false)]
public virtual Rectangle SourceRectangle {get; set;}
'Declaration
 
<BrowsableAttribute(False)>
Public Overridable Property SourceRectangle As Rectangle
'Usage
 
Dim instance As RasterImageViewer
Dim value As Rectangle
 
instance.SourceRectangle = value
 
value = instance.SourceRectangle
[BrowsableAttribute(false)]
public virtual Rectangle SourceRectangle {get; set;}
BrowsableAttribute()
 get_SourceRectangle();
set_SourceRectangle(value);
[BrowsableAttribute(false)]
public:
virtual property Rectangle SourceRectangle {
   Rectangle get();
   void set (    Rectangle value);
}

Property Value

the coordinates of the source drawing area.
Remarks
The SourceRectangle determines which part of the Image gets painted. This property is used when the RasterImageViewer paints or prints the Image. Use an empty rectangle (Rectangle.Empty) to paint the whole image.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.