XML Export Parameters

  XML Parameters Description >

XML Export Parameters

Previous pageReturn to chapter overviewNext page

XML description of the output file obtained after calling the SaveCADWithXMLParametrs function:

 
<?xml version="1.0" encoding="utf-8"?> 
   <ExportParams>
      <!--  Clipping -->
      <ClipMode>Integer, cutting mode</ClipMode>
      <ClipRect>TFRect, cutting area</ClipRect>
      <!-- Raster -->
      <Width>Integer,width of the result</Width>
      <Height>Integer,height of the result</Height>
      <MaxDim>Integer</MaxDim>
      <Quality>Double, quality</Quality>
      <MeasureInPixels>Boolean</MeasureInPixels>
      <Transparent>Boolean, transparency</Transparent>
      <DPUX>Integer</DPUX>
      <DPUY>Integer</DPUY>
      <SizeMode>TSizeMode</SizeMode>
      <Compression>TsgTIFFCompressionType</Compression>
      <BitPerPixel>TPixelFormat</BitPerPixel>
      <Proportional>Boolean</Proportional>
      <!-- CAD -->
      <Version>TsgDWGVersion</Version>
      <IsParseWhite>Boolean</IsParseWhite>
      <UnitSize>Double</UnitSize>
      <Use01MM>Boolean</Use01MM>
      <LineWeightScale>Double</LineWeightScale>
      <FillingEntity>Boolean</FillingEntity>
      <OffsetPoint>TF2DPoint</OffsetPoint>
      <LayersMode>Integer</LayersMode>
      <PageWidth>Double</PageWidth>
      <PageHeight>Double</PageHeight>
      <Margin>Double</Margin>
      <DrawMode>Integer</DrawMode>
      <BackgroundColor>Integer</BackgroundColor>
      <DefaultColor>Integer</DefaultColor>
      <NullWidth>Double</NullWidth>
      <SaveLineWeight>Boolean</SaveLineWeight>
      <LayoutExportMode>Integer</LayoutExportMode>
      <LayoutNameExportMode>String</LayoutNameExportMode>
      <Title>String</Title>
      <Author>String</Author>
      <Subjct>String</Subjct>
      <Keywords>String</Keywords>
      <LineWeights>String</LineWeights>
      <UseVectorLineWeight>Boolean</UseVectorLineWeight>
      <UseExtentsFromPlotSettings>Boolean</UseExtentsFromPlotSettings>
      <XScale>Double</XScale>
      <IsConvertImageToOLE>Boolean</IsConvertImageToOLE>
   </ExportParams>

 

Parameter

 

Description

DrawMode

Defines the color mode for CAD Image rendering (PDF only):

0 - default mode;

1 - black&white mode;

2 - grayscale mode.  

 

LayoutExportMode

Selects layouts to export:

0 - model only;

1 -all layouts;

2 - layouts by name;

3 - model and layouts;

4 - current layout.

 

ClipMode

Defines the saving area:

2 - saves the contents of the specified Rect to the specified image dimensions;

3 - saves the entire visible area, Rect won't used.

 

Quality

Sets the quality value only for JPEG images.

 

TTFMode

Sets TTF mode rendering:

0 - auto;

1 - GDI;

2 - outline symbol of the polyline;

3 - polygon;

4 - outline and polygon.

 

TFRect

left,top,Z1,right,bottom,Z2

 

 

 

 

See Also

XML Parameters description  | Description of XML Tags  | SaveCADWithXMLParametrs


© 2003-2024 CADSoftTools

Go to CAD DLL