SoVectorizeActionSetPenDescription Method (SbColor, Single, SoVectorizeActionDimensionUnits) |
Sets the description of the color and the width of each pen.
Namespace: OIV.HardCopyAssembly: OIV.HardCopy (in OIV.HardCopy.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public virtual void SetPenDescription(
SbColor[] colors,
float[] widths,
SoVectorizeActionDimensionUnits u
)
Public Overridable Sub SetPenDescription (
colors As SbColor(),
widths As Single(),
u As SoVectorizeActionDimensionUnits
)
public:
virtual void SetPenDescription(
array<SbColor>^ colors,
array<float>^ widths,
SoVectorizeActionDimensionUnits u
)
abstract SetPenDescription :
colors : SbColor[] *
widths : float32[] *
u : SoVectorizeActionDimensionUnits -> unit
override SetPenDescription :
colors : SbColor[] *
widths : float32[] *
u : SoVectorizeActionDimensionUnits -> unit
Parameters
- colors
- Type: OIV.InventorSbColor
- widths
- Type: SystemSingle
- u
- Type: OIV.HardCopySoVectorizeActionDimensionUnits
Remarks The function is useful for pen plotters, but can also be used for raster plotters. For raster plotters, the drawing color is the color of the chosen pen. This is useful to force the plotter to use a set of colors. If the width parameter is not specified, a 0.35 mm value is assumed.
See Also