60002070 Global variable for vdAtrributes show or hide

Article 60002070
Type Wish
Product Engine
Version 6027
Date Added 10/29/2013 12:00:00 AM
Fixed (12/3/2013 12:00:00 AM)
Submitted by Ilan Sandor


It is possible to have a functionality that will help use set all attributes visible or not ?


In Version 6028 we added a new property at the vdDocument.vdRenderGlobalProperties named AttributesMode
It can take the following values
enum AttributesModeEnum
//All Attributes are not drawn no matter their visibility property.
Off = 0,
//Normal/Default behaviour which follows the attribute's visibility property.
Normal = 1,
//All Attributes are drawn no matter their visibility property.
On = 2

A Combobox has been added to the InsertBlock Dialog where you can select this value. Also this value can be changed under GlobalRenderProperties of the Document in the Properties list.

C# code: MainDoc.GlobalRenderProperties.AttributesMode = VectorDraw.Render.vdRenderGlobalProperties.AttributesModeEnum.On;
vb code:
Dim doc As VectorDraw_Professional.vdDocument
Set doc = VDraw1.ActiveDocument.WrapperObject
doc.GlobalRenderProperties.AttributesMode = AttributesModeEnum_On

Send comments on this topic.