Table of Contents

Class vddimmanager

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

Manages the dimension properties.

public class vddimmanager
Inheritance
vddimmanager
Inherited Members

Fields

BLK

The block name that is drawn at the ends of the dimension line. The value as string can be 'ARROW' or 'TICK' or '' empty for no block or an existing block name in the document Blocks collection.Default value is 'TICK'.

BSIZE

The size of the BLK block

DIMTEXT

The dimension text to be displayed as string.It can be an empty string '' in order to get the dimension length or any string value to be displayed.

EXTCOLOR

The color of the dimension extension line as string like 'Red,Green,Blue,Alpha' '255,0,0,255'etc. or '1' for index color of document palette or 'Byblock' or 'Bylayer'.Default value is 'byblock'

HORROT

Text angle relative to dimension line direction

LINECOLOR

The color of the dimension line as string like 'Red,Green,Blue,Alpha' '255,0,0,255'etc. or '1' for index color of document palette or 'Byblock' or 'Bylayer'.Default value is 'byblock'

LSCALE

The scale factor for dimensioning by which the default dimension length is multiplyed.Default value is 1.0

LUNITS

The unis that used to format the dimension text.The value can be 'DEC' for decimal unirs,'ENG' for Engineering 'ARC' for Architectural 'FRAC' for Fractional 'SC' for Scientific.Default value is 'DEC'

PREC

The number of decimals as integer string.The value must be between 0 to 12.Default value is '4'

ROTATION

Get/Set the rotation of the dimension in degrees. 0 for horizondal 90 for vertical

SZEROS

The suppression of zero of the default dim length text.The value can be '0' for no suppression or '1' for suppression leading and trailing zeros.Default value is '0'

TEXTCOLOR

The color of the dimension text as string like 'Red,Green,Blue,Alpha' '255,0,0,255'etc. or '1' for index color of document palette or 'Byblock' or 'Bylayer'.Default value is 'byblock'

TEXTH

The text height in drawing units as string.Default value is '0.2'.

TEXTHORROT

The text horizontal rotation.It can be 'ALIGN' or 'HORIZONTAL'

TEXTVERJUST

The text vertical rotation.It can be 'ABOVE' or 'CENTER'

TSTYLE

An existing text style name in the document TextStyles collection used to draw the texts. Or an empty string in order the document ActiveTextStyle to be used

TXTDIST

Get/Set the distance around the dimension's text.

TYPE

The value can be 'ALIGN' for aligned dimension or 'HOR' for horizontal or 'VER' for vertical.Default value is 'ALIGN'.

XLD1

Get/Set how far to extend the extension lines beyond the dimension line in drawing units.

XLD2

Get/Set how far extension lines are offset from origin points in drawing units.

Methods

Create(vdrawObj, object, object, object, string, object)

Returns the vdraw object that corresponds to the given canvas.

IsVDSdim(object)

Check if the passed object is a valid Dimension object that supported by webControl