←Select platform

SourceRectangle Property

Summary

Represents the part of the image to use as the display source.

Syntax

C#
VB
C++
public virtual Rectangle SourceRectangle { get; set; } 
  
<BrowsableAttribute(False)> 
Public Overridable Property SourceRectangle As Rectangle 
[BrowsableAttribute(false)] 
public: 
virtual property Rectangle SourceRectangle { 
   Rectangle get(); 
   void set (    Rectangle ); 
} 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly