DXFReaderNETControlDrawImage Method (Image, ListEntityObject, ListEntityObject, Int16, Boolean)
|
Draws an image on the control.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public void DrawImage(
Image Image,
List<EntityObject> Boundary,
List<EntityObject> HollowBoundary = null,
short Transparency = 0,
bool Store = false
)
Public Sub DrawImage (
Image As Image,
Boundary As List(Of EntityObject),
Optional HollowBoundary As List(Of EntityObject) = Nothing,
Optional Transparency As Short = 0,
Optional Store As Boolean = false
)
public:
void DrawImage(
Image^ Image,
List<EntityObject^>^ Boundary,
List<EntityObject^>^ HollowBoundary = nullptr,
short Transparency = 0,
bool Store = false
)
member DrawImage :
Image : Image *
Boundary : List<EntityObject> *
?HollowBoundary : List<EntityObject> *
?Transparency : int16 *
?Store : bool
(* Defaults:
let _HollowBoundary = defaultArg HollowBoundary null
let _Transparency = defaultArg Transparency 0
let _Store = defaultArg Store false
*)
-> unit
METHOD DrawImage(
Image AS Image,
Boundary AS List<EntityObject>,
HollowBoundary AS List<EntityObject> := NULL,
Transparency AS SHORT := 0,
Store AS LOGIC := FALSE
) AS VOID
Parameters
- Image
- Type: System.DrawingImage
The bitmap image. - Boundary
- Type: System.Collections.GenericListEntityObject
A list of entities defining the boundary. - HollowBoundary (Optional)
- Type: System.Collections.GenericListEntityObject
A list of entities defining the boundary that encloses or defines empty or open spaces within an area. - 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