4 midl_pragma warning(disable:2111)
10import "EnumDefinition.idl";
11import "EwClassificationObjects.idl";
30 uuid(CF61F596-F971-48F6-8752-97270D27207A),
34 helpstring(
"IEwTitleBlockX Interface"),
35 pointer_default(unique)
536 uuid(3A4CA3EB-B7F4-4197-A006-FDDA37190D03),
540 helpstring(
"IEwTitleBlockManagerX Interface"),
541 pointer_default(unique)
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:24
EwTitleBlockRowNumbering
All row numbering option for title block.
Definition: EwEnumeration.idl:713
EwMeasurementType
All measurement type.
Definition: EwEnumeration.idl:284
Use this interface to manage an IEwClassificationX object.
Definition: EwClassificationObjects.idl:228
This interface is a generic interface for environment object methods.
Definition: EwObjectBaseObjects.idl:307
Use this interface to manage EwTitleBlockX objects.
Definition: EwTitleBlockObjects.idl:544
IEwTitleBlockX newEwTitleBlock()
Create a IEwTitleBlockX object from the associated environnement.
IEwTitleBlockFiltersX newEwTitleBlockFilters()
Create an IEwTitleBlockFiltersX interface to get title blocks (IEwTitleBlockX) of associated environm...
IEwTitleBlockX findEwTitleBlockById(long lID, EwErrorCode *errorCode)
Finds a title block by ID.
VARIANT getEwTitleBlockArray(EwErrorCode *errorCode)
return the array of IEwTitleBlockX of associated environment
IEwTitleBlockX findByFileTitle(BSTR strName)
Finds a title block by file title.
Use this interface to manage a definition of a title block.
Definition: EwTitleBlockObjects.idl:38
VARIANT_BOOL isWithRows(EwErrorCode *errorCode)
Check if this title block have rows.
LONG getNumberOfRows(EwErrorCode *errorCode)
Get the number of rows of this title block.
EwErrorCode load()
Initialize this object inside the current environment.
DOUBLE getFirstRowPosition(EwErrorCode *errorCode)
Get the first row position of this title block.
EwErrorCode setNumberOfColumns(LONG lNumberOfColumns)
Set the number of columns of this title block.
EwErrorCode getScale(DOUBLE *dNumerator, DOUBLE *dDenominator)
Get the scale of this title block.
EwErrorCode setColumnWidth(DOUBLE dColumnWidth)
Set the column width of this title block.
EwErrorCode setNumberOfRows(LONG lNumberOfRows)
Set the number of rows of this title block.
EwErrorCode setWithColumns(VARIANT_BOOL bHasColumns)
Set if this title block have hasColumns.
EwErrorCode setClassID(LONG lID)
Set the class ID of this titleblock.
EwErrorCode setFirstColumnPosition(DOUBLE dFirstColumnPosition)
Set the first column position of this title block.
EwErrorCode setFirstRowPosition(DOUBLE dFirstRowPosition)
Set the first row position of this title block.
EwMeasurementType getEwMeasurementType(EwErrorCode *errorCode)
Get the measurement type of this title block.
LONG getFirstColumnNumber(EwErrorCode *errorCode)
Get the first column number of this title block.
LONG getID(EwErrorCode *errorCode)
Get the Id of this title block.
IEwClassificationX getClassification(EwErrorCode *errorCode)
Get the classification of the current titleblock.
LONG getNumberOfColumns(EwErrorCode *errorCode)
Get the number of columns of this title block.
EwErrorCode setEwTitleBlockRowNumbering(EwTitleBlockRowNumbering eTitleBlockRowNumbering)
Set the rows numbering option of this title block.
EwErrorCode setLibraryCode(BSTR strLibraryCode)
Set the library code of this title block.
LONG getClassNodeID(EwErrorCode *errorCode)
EwErrorCode setFirstColumnNumber(LONG lFirstColumnNumber)
Set the first column number of this title block.
EwErrorCode getSheetSize(LONG lProjectID, DOUBLE *dWidth, DOUBLE *dHeight)
Gets the size of the dwg that contains the title block.
DOUBLE getRowHeight(EwErrorCode *errorCode)
Get the row height of this title block.
EwErrorCode setFirstRowNumber(LONG lFirstRowNumber)
Set the first row number of this title block.
EwErrorCode setEwMeasurementType(EwMeasurementType eMeasurementType)
Set the measurement type of this title block.
BSTR getDescription(BSTR lgCode, EwErrorCode *errorCode)
Get a description of this title block.
DOUBLE getCrossReferenceOffset(EwErrorCode *errorCode)
Get the cross reference offset of this title block.
DOUBLE getColumnWidth(EwErrorCode *errorCode)
Get the column width of this title block.
DOUBLE getFirstColumnPosition(EwErrorCode *errorCode)
Get the first column position of this title block.
EwTitleBlockRowNumbering getEwTitleBlockRowNumbering(EwErrorCode *errorCode)
Get the rows numbering option of this title block.
IEwTitleBlockX duplicate(EwErrorCode *errorCode)
Duplicate current titleblock.
LONG getClassID(EwErrorCode *errorCode)
Get the class ID of titleblock.
BSTR getName(EwErrorCode *errorCode)
Get the name of this title block.
EwErrorCode setName(BSTR strName)
Set the name of this title block.
EwErrorCode setDescription(BSTR lgCode, BSTR strValue)
Set a description of this title block.
VARIANT_BOOL isWithColumns(EwErrorCode *errorCode)
Check if this title block have columns.
EwErrorCode setScale(DOUBLE dNumerator, DOUBLE dDenominator)
Set the scale of this title block.
EwErrorCode setRowHeight(DOUBLE dRowHeight)
Set the row height of this title block.
LONG getFirstRowNumber(EwErrorCode *errorCode)
Get the first row number of this title block.
BSTR getLibraryCode(EwErrorCode *errorCode)
Get the library code of this title block.
EwErrorCode setClassNodeID(LONG lNodeID)
BOOL isAlreadyOpened(EwErrorCode *errorCode)
Check if the drawing is already opened.
EwErrorCode setCrossReferenceOffset(DOUBLE dCrossReferenceOffset)
Set the cross reference offset of this title block.
EwErrorCode insertFromDwg(BSTR strDwgFilePath)
Insert new title block inside the current environment.
EwErrorCode setWithRows(VARIANT_BOOL bHasRows)
Set if this title block have rows.