Click or drag to resize

DXFReaderNETControlDrawImage Method

Draws an image on the control.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public void DrawImage(
	Image Image,
	Vector2 Position,
	float Width,
	float Height,
	float Rotation = 0f,
	short Transparency = 50,
	bool Store = false
)

Parameters

Image
Type: System.DrawingImage
The bitmap image.
Position
Type: DXFReaderNETVector2
The position of the image.
Width
Type: SystemSingle
The width of the image.
Height
Type: SystemSingle
The height of the image.
Rotation (Optional)
Type: SystemSingle
The rotation in degree of the image about the position point.
Transparency (Optional)
Type: SystemInt16
Accepted transparency values range from 0 to 90. Default value = 50.
Store (Optional)
Type: SystemBoolean
If set to true the element is drawn again after e refresh.
Remarks
This method adds an image to the drawing without modifying the drawing database. The image is drawn on background.
See Also