Xceed Words for .NET v4.0 Documentation
Draw Method


Xceed.Drawing.NET Assembly > Xceed.Drawing Namespace > Image Class : Draw Method
The angle that determines what kind of rotation will be applied to the Image.
The value that determines how the Image will be cropped on its 4 sides.
An output parameter for the Image's Width.
An output parameter for the Image's Height.
Draw the Image based on rotation & cropping values.
Syntax
'Declaration
 
Public Function Draw( _
   ByVal rotation As UInteger, _
   ByVal cropping As RectangleF, _
   ByRef updatedWidthPercent As Single, _
   ByRef updatedHeightPercent As Single _
) As Image
'Usage
 
Dim instance As Image
Dim rotation As UInteger
Dim cropping As RectangleF
Dim updatedWidthPercent As Single
Dim updatedHeightPercent As Single
Dim value As Image
 
value = instance.Draw(rotation, cropping, updatedWidthPercent, updatedHeightPercent)
public Image Draw( 
   uint rotation,
   RectangleF cropping,
   out float updatedWidthPercent,
   out float updatedHeightPercent
)

Parameters

rotation
The angle that determines what kind of rotation will be applied to the Image.
cropping
The value that determines how the Image will be cropped on its 4 sides.
updatedWidthPercent
An output parameter for the Image's Width.
updatedHeightPercent
An output parameter for the Image's Height.
Remarks
For internal use only.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Image Class
Image Members