SourceRectangle Property

Summary

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

Syntax

C#
C++/CLI
C++
public virtual Rectangle SourceRectangle { get; set; } 
[BrowsableAttribute(false)] 
public: 
virtual property Rectangle SourceRectangle { 
   Rectangle get(); 
   void set (    Rectangle ); 
} 
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

Help Version 22.0.2023.2.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.