You are here: Start » AVL.NET » Invoke.LoadImage_FromDxf

Invoke.LoadImage_FromDxf

Loads data from a DXF file as an image.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void LoadImage_FromDxf
(
	string inDxfFile,
	float inScale,
	Optional<Avl.Size> inSize,
	Avl.Pixel inBackgroundColor,
	Optional<List<string>> inLayersToDraw,
	out Avl.Point2D outOrigin,
	Avl.Image outImage,
	Diagnostic<List<string>> diagFileLayersNames
)

Parameters

Name Type Range Default Description
inDxfFilestring
inScalefloat<0.0f, INF>10.0fScale (pixels per millimeter). Default value: 10.0f.
inSizeAtl.Optional<Avl.Size>Size of the output image. Scaled entities from file will be centered on image. Default value: atl::NIL.
inBackgroundColorAvl.Pixel
inLayersToDrawAtl.Optional<System.Collections.Generic.List<string>>Names of layers to draw. Names of all layers are available at the 'diagFileLayersNames' output. Default value: atl::NIL.
outOriginAvl.Point2DLocation of the origin from DXF on 'outImage'.
outImageAvl.ImageOutput image.
diagFileLayersNamesAvl.Diagnostic<System.Collections.Generic.List<string>>Names of all layers in DXF file.

See also