Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> Public Overridable Property SourceRectangle As Rectangle |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterImageViewer Dim value As Rectangle instance.SourceRectangle = value value = instance.SourceRectangle |
C# | |
---|---|
[BrowsableAttribute(false)] public virtual Rectangle SourceRectangle {get; set;} |
C++/CLI | |
---|---|
[BrowsableAttribute(false)] public: virtual property Rectangle SourceRectangle { Rectangle get(); void set ( Rectangle value); } |
Property Value
the coordinates of the source drawing area.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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7