DrwAnnotPackage Types

This page discusses:

DrwDimension

Inheritance Path

ObjectType
 Feature
  Visualizable
   DrwObject
    DrwDimension

Attributes

Name used in EKL NLS Name Type Comment
DimDrivingAttr Driving Boolean -
DimFakeAttr Fake Boolean -
DimOnGenItemsAttr Non associative on 3D Boolean -
DimTrueAttr True Boolean -
DimUnUpdatableAttr Non updatable Boolean -
DimensionType Type MyTypeForEnum -
DimensionValue Value LENGTH -
HavingAssocElem Having Associated Element Boolean -

DrwGDT

Inheritance Path

ObjectType
 Feature
  Visualizable
   DrwObject
    DrwGDT

Attributes

Name used in EKL NLS Name Type Comment
DisplayBoxAtt Display MyTypeForEnum -
GDTType Type MyTypeForEnum -
GDTValue Value LENGTH -

DrwTable

Inheritance Path

ObjectType
 Feature
  Visualizable
   DrwObject
    DrwTable

Attributes

Name used in EKL Type Comment
NbColumns Integer

Number of columns

NbRows Integer

Number of rows

TextStringInCellrowNumber.colNumber String

Cell's row number and cell's column number

The process to access DrwTable attributes is the following:

  • Read number of columns (NbColumns).
  • Read number of rows (NbRows).
  • Read or write the content of a specific cell by providing the cell row number and the cell column number (TextStringInCellrowNumber.colNumber).

Example

Let DrwTable1 (DrwTable)
DrwTable1=Sheet.1\View.1\DrwDressUp.1\Table.1
let nbcol(Integer)
let nbrow(Integer)
nbcol = DrwTable1->GetAttributeInteger("NbColumns")
nbrow =  DrwTable1->GetAttributeInteger("NbRows")
Message("table dim = # / #", nbcol, nbrow)
DrwTable1->SetAttributeString("TextStringInCell1.1", "cell11")
DrwTable1->SetAttributeString("TextStringInCell2.2", "cell22")

let text(string)
text=DrwTable1->GetAttributeString("TextStringInCell2.2")
Message("text=#",text)