LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SourceRectangle Property
See Also 
Leadtools.WinForms Namespace > RasterImagePrinter Class : SourceRectangle Property



Gets the actual source rectangle to print.

Syntax

Visual Basic (Declaration) 
Protected ReadOnly Property SourceRectangle As Rectangle
Visual Basic (Usage)Copy Code
Dim instance As RasterImagePrinter
Dim value As Rectangle
 
value = instance.SourceRectangle
C# 
protected Rectangle SourceRectangle {get;}
C++/CLI 
protected:
property Rectangle SourceRectangle {
   Rectangle get();
}

Property Value

A System.Drawing.Rectangle structure that specifies the actual source rectangle to use when printing.

Example

For an example, refer to RasterImagePrinter and ImageRectangle.

Remarks

The value of this property is updated after you call Prepare.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also