Description of XML Tags

  XML Parameters Description >

Description of XML Tags

Previous pageReturn to chapter overviewNext page

There are the following XML tags:

 

<ExportParams>

 

o<Filename>

o<Ext>

o<CADParametrs>

<XScale>

<BackgroundColor>

<DefaultColor>

o<GraphicParametrs>

<PixelFormat>

<Width>

<Height>

<DrawMode>

<DrawRect>                              

The root element, or the base tag that all other tags/elements fall under. Contains one attribute: version that defines XML version.Example: <ExportParams version="1.0">

Name of the output file. Example: <Filename>C:\sample.dxf</Filename>

Output file extension. Example: <Ext>.dxf</Ext>

Parameters for export to CAD formats.

Scale factor along the X axis. Example: <XScale>1</XScale>

Background color of the output drawing. Example: <BackgroundColor>16777215</BackgroundColor>

Default color for the entities in the output drawing. Example: <DefaultColor>0</DefaultColor>

Parameters for export to raster formats.

Pixel format that describes the memory layout of each pixel in a bitmap. Example: <PixelFormat>6</PixelFormat>

Width of the output image (in pixels). Example: <Width>640</Width>

Height of the output image (in pixels). Example: <Height>480</Height>

Color mode of the output image (0 - color; 1 - black-and-white; 2 - gray scale). Example: <DrawMode>0</DrawMode>

Logical coordinates of the drawing rectangle. This element contains four attributes: LeftTopRightBottom.

Example: <DrawRect Left="0" Top="0" Right="640" Bottom="480"/>

 

See Also

XML Parameters description  | Example


© 2003-2021 CADSoftTools

Go to CAD DLL