70001469 vdPrintStyleTable wishes

Article 70001469
Type Wish
Product Engine
Version 7016
Date Added 12/17/2018
Fixed 8.8001.0.5 (12/18/2018)
Submitted by Anna Di Grezia

Summary

I would like to add other properties to the vdPrintStyleTable object. My request is: - to add the "Description" property that allows the user to set a description of the print style (what it does, etc.); - to set the line weight manually from keyboard (not following the constants - to add a property that indicates the filling.

Solution


vdPrintStyle can be used to change the way objects are going to be printed having specific palette colors. Note that printing functionality is being used also when rendering to bitmap and also in PDF export.

vdPrintStyle.LineWeight Can take any positive double value that represents the line width in milimiters of output device drawing context.

New properties for vdPrintStyle added in version 8001.0.5


1. vdPrintStyle.Description
Get/Set the description of this object.

Default value is 'Color' plus index number


2. vdPrintStyle.FillStyle
Specifies the Fill Style that is used for solid fill objects in printing render modes
Valid values are:
Solid ,
Checkerboard ,
Crosshatch ,
Diamonds ,
HorizontalBars ,
SlantLeft ,
SlantRight,
SquareDots,
VerticalBars,
UseObject,

Default value is PSFillStyleFlag.UseObject which means that the object's fill properties are going to be used.


3. vdPrintStyle.LineType
Specifies the the Line Type that is used for objects inprinting render modes
Valid values are:
Solid,
Dashed,
Dotted,
DashDot,
DashDotDot,
UseObject,

Default value is PSLineTypeFlag.UseObject


At the print dialog we use the Pen Asigments form in order to change the behaviour of red , green and blue colors

Send comments on this topic.