DATAKIT API  V2025.1
Pdfw::LayoutOptions Struct Reference

This structure provides several options to tune layout.
It is a member of WriteOptions. More...

Data Fields

Dtk_bool _3DAnnotActivation
 
Dtk_Double64 _3DAnnotSize [4]
 
Dtk_bool CreateAutomaticLayout
 DTK_TRUE : Creates automatic layout (One page with filled with 3D Annotation), DTK_FALSE : You must use Layout methods. More...
 
Dtk_Double64 DrawingMarginsSize
 Additional page margins size. 10.0mm by default. More...
 
Dtk_bool ProcessDrawingBBoxAsPageBBox
 DTK_TRUE : Process Drawing BBox and use it to process PDF Page size, DTK_FALSE : Use Dtk_DrawingPtr Height/Width. More...
 
Dtk_bool RasterizeTexts
 DTK_TRUE : rasterizing texts, DTK_FALSE : Converts texts as texts with the font you provide. More...
 
Dtk_string TTF_BoldFont
 
Dtk_string TTF_BoldItalicFont
 
Dtk_string TTF_Font
 
Dtk_string TTF_ItalicFont
 
Dtk_bool WriteLineThickness
 DTK_TRUE : write line thickness, DTK_FALSE : Writes lines with thickness value equals to 0.13. More...
 

Detailed Description

This structure provides several options to tune layout.
It is a member of WriteOptions.

Field Documentation

◆ _3DAnnotActivation

Dtk_bool Pdfw::LayoutOptions::_3DAnnotActivation

0 (default) : PO The annotation shall be activated as soon as the page containing the annotation is opened. 1 : PV The annotation shall be activated as soon as any part of the page containing the annotation becomes visible. 2 : XA The annotation shall remain inactive until explicitly activated by a script or user action.

◆ _3DAnnotSize

Dtk_Double64 Pdfw::LayoutOptions::_3DAnnotSize[4]

3D annotation size : {xMin, yMin, xMax, yMax} Unit is points (72 points per inch) and it is measured from the bottom left corner of the page This parameter needs to be filled at Artwork initialisation for pin to screen entities

◆ CreateAutomaticLayout

Dtk_bool Pdfw::LayoutOptions::CreateAutomaticLayout

DTK_TRUE : Creates automatic layout (One page with filled with 3D Annotation), DTK_FALSE : You must use Layout methods.

◆ DrawingMarginsSize

Dtk_Double64 Pdfw::LayoutOptions::DrawingMarginsSize

Additional page margins size. 10.0mm by default.

◆ ProcessDrawingBBoxAsPageBBox

Dtk_bool Pdfw::LayoutOptions::ProcessDrawingBBoxAsPageBBox

DTK_TRUE : Process Drawing BBox and use it to process PDF Page size, DTK_FALSE : Use Dtk_DrawingPtr Height/Width.

◆ RasterizeTexts

Dtk_bool Pdfw::LayoutOptions::RasterizeTexts

DTK_TRUE : rasterizing texts, DTK_FALSE : Converts texts as texts with the font you provide.

◆ TTF_BoldFont

Dtk_string Pdfw::LayoutOptions::TTF_BoldFont

◆ TTF_BoldItalicFont

Dtk_string Pdfw::LayoutOptions::TTF_BoldItalicFont

◆ TTF_Font

Dtk_string Pdfw::LayoutOptions::TTF_Font

Font (TrueType or OpenType) used to display texts in PDF File if we don't rasterize them Please provide fullpath. If font is not found at the specified path, RasterizeTexts option will be activated.

◆ TTF_ItalicFont

Dtk_string Pdfw::LayoutOptions::TTF_ItalicFont

◆ WriteLineThickness

Dtk_bool Pdfw::LayoutOptions::WriteLineThickness

DTK_TRUE : write line thickness, DTK_FALSE : Writes lines with thickness value equals to 0.13.