%%PageItemTitle%% $$Members$$

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
vdConst Class Members
See Also  Fields  Methods 
vdWebLibrary Namespace : vdConst Class

The following tables list the members exposed by vdConst.

Public Fields

 NameDescription
Public FieldACTION_DISPLAY_DEFAULT Sets the fill color of the drawn entities of the action to the action's default fillcolor.  
Public FieldACTION_DISPLAY_USECROSSCOLOR Sets the fill color of the drawn entities of the action to the action's crossfillcolor. By default, the crossfillcolor is used when a rectangle's low point is to the right of its high point.  
Public FieldACTION_DISPLAY_USEFILLCOLOR Sets the fill color of the drawn entities of the action to the action's fillcolor.  
Public FieldACTION_LINE_WORLD Designates a GetUserLine action.  
Public FieldACTION_POINT_WORLD Designates a GetUserPoint action.  
Public FieldACTION_RECT_VIEW Designates a GetUserRect action.  
Public FieldActionHighLightColor Array of red,green,blue,alpha color used when action select an entity  
Public FieldBlockColorOper_Block Entity inside a block with PenColor Bylayer that belongs on Layer 0 , will finaly get the color of the block instance and not the color of the block's layer.  
Public FieldBlockColorOper_Layer Entity inside a block with PenColor Bylayer that belongs on Layer 0 , will finaly get the color of the layer of the block instance that belongs.  
Public FieldCOLOR_BYLAYER The layer's color is used.  
Public FieldDEFAULT_MOUSE_ACTION_ALL Defines all the actions are enabled. DEFAULT_ZOOMSCALE + DEFAULT_SCROLL + DEFAULT_ZOOMEXTENTS + DEFAULT_ROTATE3D  
Public FieldDEFAULT_MOUSE_ACTION_NONE Defines no default mouse action  
Public FieldDEFAULT_ROTATE3D Defines the default rotate 3d action.By default it is done by holding down the middle mouse wheel and moving the mouse pointer over the vdraw screen  
Public FieldDEFAULT_SCROLL Defines the default scroll action.Usually by holding down the mouse button and moving the mouse pointer over the vdraw screen  
Public FieldDEFAULT_ZOOMEXTENTS Defines the default zoomextents action.By default it is done by dblclick on the vdraw screen  
Public FieldDEFAULT_ZOOMSCALE Defines the default zoomscale action.Usually by scrolling the middle mouse wheel button.  
Public FieldErr_LoadFile The error code that indicates that an error was caused while attempting to open a file.  
Public FieldFillModeDoubleHatch A double line hatch pattern.  
Public FieldFillModeHatchBDiagonal A diagonal hatch pattern.  
Public FieldFillModeHatchCross A cross hatch pattern.  
Public FieldFillModeHatchDiagCross A diagonal cross hatch pattern.  
Public FieldFillModeHatchFDiagonal A diagonal hatch pattern.  
Public FieldFillModeHatchHorizontal A horizontal hatch pattern.  
Public FieldFillModeHatchVertical A vertical hatch pattern.  
Public FieldFillModeNone No fill hatch pattern.  
Public FieldFillModeSingleHatch A single line hatch pattern.  
Public FieldFillModeSolid A solid color hatch pattern.  
Public FieldGRIPMODE_AUTO Used by SelectMode. Set the mode to auto so the grips are automatically selected by vdraw control  
Public FieldGRIPMODE_SINGLE Used by SelectMode. Set the mode to GRIPMODE_AUTO and GRIPMODE_SINGLE so the grips are automatically selected by vdraw control but only one entity of the document can have grips.  
Public FieldGRIPMODE_USER Used by SelectMode. Set the mode to user so the grips are not automatically selected by vdraw control  
Public FieldInfinityTypes_Ray Infinity line set to Ray.  
Public FieldInfinityTypes_XLine Infinity line set to XLine.  
Public FieldInsUnitAngstroms Unit with no scale factor 1.0e-10 to meters.  
Public FieldInsUnitAstronomical_Units Unit with no scale factor 149.597871e+9 to meters.  
Public FieldInsUnitCentimeters Unit with no scale factor 0.01 to meters.  
Public FieldInsUnitDecimeters Unit with no scale factor 0.1 to meters.  
Public FieldInsUnitDekameters Unit with no scale factor 10 to meters.  
Public FieldInsUnitFeet Unit with no scale factor 0.3048 to meters.  
Public FieldInsUnitGigameters Unit with no scale factor 1.0e+10 to meters.  
Public FieldInsUnitHectometers Unit with no scale factor 100 to meters.  
Public FieldInsUnitInches Unit with no scale factor 0.0254 to meters.  
Public FieldInsUnitKilometers Unit with no scale factor 1000 to meters.  
Public FieldInsUnitLight_Years Unit with no scale factor 9.460730e+15 to meters.  
Public FieldInsUnitMeters Unit with no scale factor 1 to meters.  
Public FieldInsUnitMicroinches Unit with no scale factor 25.4e-9 to meters.  
Public FieldInsUnitMicrons Unit with no scale factor 1.0e-6 to meters.  
Public FieldInsUnitMiles Unit with no scale factor 1609.3440 to meters.  
Public FieldInsUnitMillimeters Unit with no scale factor 0.001 to meters.  
Public FieldInsUnitMils Unit with no scale factor 25.4e-6 to meters.  
Public FieldInsUnitNanometers Unit with no scale factor 1.0e-9 to meters.  
Public FieldInsUnitParsecs Unit with no scale factor 3.0856776e+16 to meters.  
Public FieldInsUnitUnspecified Unit with no scale factor.  
Public FieldInsUnitYards Unit with no scale factor 0.9144 to meters.  
Public FieldInterpolationMode_Bilinear When a material is applied, Bilinear interpolation is used. Check SetImageInterpolationMode  
Public FieldInterpolationMode_Nearest When a material is applied, no interpolation is used. Check SetImageInterpolationMode  
Public FieldLINETYPE_FLAG_Dot A dotted linetype.  
Public FieldLINETYPE_FLAG_SHX_TEXT A line type defined by SHX text. For more information check LineTypeSegment.Flag in the VDF.chm help file.  
Public FieldLINETYPE_FLAG_TTF_TEXT A line type defined by TTF text. For more information check LineTypeSegment.Flag in the VDF.chm help file.  
Public FieldLineTypeDrawMethod_Center The linetype is centered to the length of the segment. For more information check the vdLineType.DrawMethod property in the VDF.chm help file.  
Public FieldLineTypeDrawMethod_Start Using this value the linetype starts from the beginning of the segment and continues similar to the end. For more information check the vdLineType.DrawMethod property in the VDF.chm help file.  
Public FieldLW_BYBLOCK The block's line weight is used.  
Public FieldLW_BYLAYER The layers line weight is used.  
Public FieldLW_DOCUMENTDEFAULT The document's default line weight is used. The value from vdrawObj.GetDocument().LineWeight  
Public FieldMERGEFLAGS_DEFAULT It is used by MergeDocument method and define that the entities handles which exist on basic drawing are NOT replaced with merged document entities.  
Public FieldMERGEFLAGS_KEEP_BOTH It is used by MergeDocument method and define that the entities handles which exist on basic drawing and merged document are added with a new handle.  
Public FieldMERGEFLAGS_KEEP_EXISITING It is used by MergeDocument method and define that the entities handles which exist on basic drawing are NOT replaced with merged document entities.  
Public FieldMERGEFLAGS_REPLACE_EXISITING It is used by MergeDocument method and define that the entities handles which exist on basic drawing are replaced with merged document entities.  
Public FieldMouseLeftButton Left mouse button.  
Public FieldMouseMiddleButton Middle mouse button.  
Public FieldMouseRightButton Right mouse button.  
Public FieldNUMSECTIONS Get/Set the maximun enabled section clip used .Valid range 0 - 5.Default value is 2  
Public FieldOsnapMaxItems Get/Set the maximun return osnaps at cursor position.Default value is 100  
Public FieldOsnapMode_ALL All osnaps are activated.  
Public FieldOsnapMode_CEN The centerpoint osnap is activated, snapping on the center of circles and ellipses  
Public FieldOsnapMode_DISABLE Disable the osnap selection.  
Public FieldOsnapMode_END The endpoint osnap is activated, snapping on the end points of edges, lines etc.  
Public FieldOsnapMode_INS The insertion osnap is activated, snapping on the insertion point of rects, images and texts.  
Public FieldOsnapMode_MID The midpoint osnap is activated, snapping in the middle of edges, lines etc.  
Public FieldOsnapMode_NEA The nearest osnap is activated, snapping on a point where an object resides, nearest to the cursor.  
Public FieldOsnapMode_NODE The node osnap is activated, snapping on vdpoint objects.  
Public FieldOsnapMode_NONE No osnaps are activated.  
Public FieldOsnapMode_QUA The quadratic osnap is activated, snappint on the four quadrants of a circle.  
Public FieldPRINT_SCALE_FLAG_FIT The entities inside the print window will be scaled appropriately in order to fit inside the paper used.  
Public FieldPRINT_SCALE_FLAG_ORIGINAL The entities inside the print window will be printed without scaling. Their layout on the paper will be defined by the printer's properties.  
Public FieldPRINT_WINDOW_FLAG_EXTENTS All the entities of the document will be included in the print window.  
Public FieldPRINT_WINDOW_FLAG_ORIGINAL The print window set from the .net vdraw control when the document was exported will be used.  
Public FieldPRINT_WINDOW_FLAG_VIEW The entities visible from the user will be included in the print window. What the user sees will be set for printing.  
Public FieldRENDERMODE_RENDER While in this render mode, all solid entities are drawn properly with the addition of Material Images.  
Public FieldRENDERMODE_RENDER_GL While in this render mode, all polyface and 3dFace entities are drawn with their solid colors or materials using WebGL engine.  
Public FieldRENDERMODE_SHADE While in this render mode, all solid entities are drawn properly, but no Material Images are applied (except in Hatches).  
Public FieldRENDERMODE_SHADE_GL While in this render mode, all polyface and 3dFace entities are drawn with their solid colors using WebGL engine with out apply materials.  
Public FieldRENDERMODE_WIRE_2d Similar to the vdraw Wire2D render mode. When this is activated, the user is restrained in a 2D display of a drawing, all solid entities are drawn as lines, Hatches and Images are drawn normally, cannot perfom a 3Drotate action), also, section clips are not applied.  
Public FieldRENDERMODE_WIRE_3d Similar to the RENDERMODE_WIRE_2d. Differences include 3Drotate action, section clips etc.  
Public FieldSplineFlagCONTROLPOINTS Set the vdSpline object to the controlpoints mode.  
Public FieldSplineFlagFITTING Set the vdSpline object to the fitting mode.  
Public FieldSplineFlagQUADRATIC Set the vdSpline object to the quadratic mode.  
Public FieldSplineFlagSTANDARD Set the vdSpline object to the standard mode (simple polyline without bulges).  
Public FieldStdView_BACK Model displayed from the back; Used with SetStdView  
Public FieldStdView_BOTTOM Model displayed from the bottm; Used with SetStdView  
Public FieldStdView_FRONT Model displayed from the front; Used with SetStdView  
Public FieldStdView_ISO_NE Model displayed from a northeast direction; Used with SetStdView  
Public FieldStdView_ISO_NW Model displayed from a northwest direction; Used with SetStdView  
Public FieldStdView_ISO_SE Model displayed from a southeast direction; Used with SetStdView  
Public FieldStdView_ISO_SW Model displayed from a southwest direction; Used with SetStdView  
Public FieldStdView_LEFT Model displayed from the left; Used with SetStdView  
Public FieldStdView_RIGHT Model displayed from the right; Used with SetStdView  
Public FieldStdView_TOP Model displayed from the top; Used with SetStdView  
Public FieldTextLineFlags_CenterLine Draws the text with a line through it. See also vdText.TextLine property in VDF.chm.  
Public FieldTextLineFlags_None Draws the text without any additional lines. See also vdText.TextLine property in VDF.chm.  
Public FieldTextLineFlags_OverLine Draws the text with a line over it. See also vdText.TextLine property in VDF.chm.  
Public FieldTextLineFlags_UnderLine Draws the text with a line under it. See also vdText.TextLine property in VDF.chm.  
Public FieldTransparencyMethod_ByBlock The block's transparency mode is used;  
Public FieldTransparencyMethod_ByLayer The layer's transparency mode is used;  
Public Fieldvd3DFace_code The code that corresponds to the vd3DFace object;  
Public FieldvdArc_code The code that corresponds to the vdArc object;  
Public FieldvdAttrib_code The code that corresponds to the vdAttrib object;  
Public FieldvdAttribDef_code The code that corresponds to the vdAttribDef object;  
Public FieldvdBlock_code The code that corresponds to the vdBlock object;  
Public FieldvdCircle_code The code that corresponds to the vdCircle object;  
Public FieldVdConstHorJust_VdTextHorAligned Alligns the text on the line that connects the insertion point and the AlignmentPoint of the vdText object.  
Public FieldVdConstHorJust_VdTextHorCenter Sets the horizontal justification of a vdText at its center.  
Public FieldVdConstHorJust_VdTextHorFit Acts like the VdConstHorJust_VdTextHorAligned plus it stretches the text in order to fill it between the insertion and AlignmentPoint.  
Public FieldVdConstHorJust_VdTextHorLeft Sets the horizontal justification of a vdText to the left.  
Public FieldVdConstHorJust_VdTextHorRight Sets the horizontal justification of a vdText to the right.  
Public FieldVdConstTextstyle_BACKWARD Draws the text of a vdText backwards.  
Public FieldVdConstTextstyle_BACKWARD_UPSIDEDOWN Draws the text of a vdText backwards and upsidedown.  
Public FieldVdConstTextstyle_LEFTTORIGHT Draws the text of a vdText mirrored.  
Public FieldVdConstTextstyle_UPSIDEDOWN Draws the text of a vdText upsidedown.  
Public FieldVdConstVerJust_VdTextVerBaseLine Sets the vertical justification of a vdText at the text's baseline.  
Public FieldVdConstVerJust_VdTextVerBottom Sets the vertical justification of a vdText at the object's bottom.  
Public FieldVdConstVerJust_VdTextVerCen Sets the vertical justification of a vdText at the object's center.  
Public FieldVdConstVerJust_VdTextVerTop Sets the vertical justification of a vdText at the object's top.  
Public FieldvdDimension_code The code that corresponds to the vdDimension object;  
Public FieldvdEllipse_code The code that corresponds to the vdEllipse object;  
Public FieldvdGroundSurface_code The code that corresponds to the vdGroundSurface object;  
Public FieldvdGroup_code The code that corresponds to the vdGroup object;  
Public FieldvdHatchPattern_code The code that corresponds to the vdHatchPattern object;  
Public FieldvdImage_code The code that corresponds to the vdImage object;  
Public FieldvdImageDef_code The code that corresponds to the vdImageDef object;  
Public FieldvdInfinityLine_code The code that corresponds to the vdInfinityLine object;  
Public FieldvdInsert_code The code that corresponds to the vdInsert object;  
Public FieldvdLayer_code The code that corresponds to the vdLayer object;  
Public FieldvdLayout_code The code that corresponds to the vdLayout object;  
Public FieldvdLeader_code The code that corresponds to the vdLeader object;  
Public FieldvdLine_code The code that corresponds to the vdLine object;  
Public FieldvdLineType_code The code that corresponds to the vdLineType object;  
Public FieldvdMText_code The code that corresponds to the vdMText object;  
Public FieldvdMultiline_code The code that corresponds to the vdMultiline object;  
Public FieldvdPoint_code The code that corresponds to the vdPoint object;  
Public FieldvdPolyface_code The code that corresponds to the vdPolyface object;  
Public FieldvdPolyhatch_code The code that corresponds to the vdPolyhatch object;  
Public FieldvdPolyline_code The code that corresponds to the vdPolyline object;  
Public FieldvdRect_code The code that corresponds to the vdRect object;  
Public FieldvdText_code The code that corresponds to the vdText object;  
Public FieldvdTextstyle_code The code that corresponds to the vdTextstyle object;  
Public FieldvdView_code The code that corresponds to the vdView object;  
Public FieldvdViewport_code The code that corresponds to the vdViewport object;  
Top

Public Methods

 NameDescription
Public MethodcloneEntity Returns a new created object as clone to the passed one.  
Public MethodcolorFromString Create a new color from passed string value  
Public MethodcolorToString Convert a color to a string value and returns the string value.  
Public MethodcreateNewColor Creates a new vdColor object.  
Top

See Also