MDAddText

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > NeutralFormat >

MDAddText

Description

Add an image to the Master Drawing identified with the handler MDid

Syntax

call DBWShell("MDAddText MDid X Y Text FontFaceName FontHeight FontOrientation Style RGBcolor PageN")

Parameters

MDid

Master Drawing handler

X

point (in millimeters) on the x axe where the text will be placed

Y

point (in millimeters) on the y axe where the text will be placed

Text

text string to be inserted

FontFaceName

name of a font type, optionally together with a font attribute

"Arial"
"Arial,Italic"
"Arial,Bold"
"Times New Roman"
...

FontHeight

height (in millimeters) of the text to be inserted

FontOrientation

rotation angle (in degrees) of the text

Style

0: solid
1: frame

RGBcolor

color of the text defined as RGB

PageN

the Page Number on which to put the Texts ( 0 = first page )

Parameters

warning

The parameter PageN is available only for PDF documents