LEADTOOLS Windows Forms (Leadtools.WinForms assembly)

SourceRectangle Property (RasterImageViewer)

Show in webframe





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 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

See Also

Reference

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.