You are here: Start » AVL.NET » AVL.LoadImage_FromDxf(string, float, AvlNet.Size?, AvlNet.Pixel, string[], AvlNet.Point2D, AvlNet.Image, string[])

AVL.LoadImage_FromDxf(string, float, AvlNet.Size?, AvlNet.Pixel, string[], AvlNet.Point2D, AvlNet.Image, string[])

Loads data from a DXF file as an image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void LoadImage_FromDxf(
	string inDxfFile,
	float inScale,
	AvlNet.Size? inSize,
	AvlNet.Pixel inBackgroundColor,
	string[] inLayersToDraw,
	out AvlNet.Point2D outOrigin,
	out AvlNet.Image outImage,
	out string[] diagFileLayersNames
)

Parameters

inDxfFile
Type: System.String
inScale
Type: System.Single
Scale (pixels per millimeter)
inSize
Type: System.Nullable<AvlNet.Size>
Size of the output image. Scaled entities from file will be centered on image, or null.
inBackgroundColor
Type: AvlNet.Pixel
inLayersToDraw
Type: System.String
Names of layers to draw. Names of all layers are available at the 'diagFileLayersNames' output, or null.
outOrigin
Type: AvlNet.Point2D
Location of the origin from DXF on 'outImage'
outImage
Type: AvlNet.Image
Output image
diagFileLayersNames
Type: System.String
Names of all layers in DXF file

See also