4midl_pragma warning(disable:2111)
10import "EnumDefinition.idl";
19 uuid(ADD58046-4A7F-49F5-B6B9-09C6861439B9),
23 helpstring(
"IEwPointX Interface"),
24 pointer_default(unique)
87 uuid(36dc5675-dcc2-4af2-8076-4b20ff5f9c11),
91 helpstring(
"IEwSaveDWGX Interface since 2022"),
92 pointer_default(unique)
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwSaveImageType
Picture save type.
Definition: EwEnumeration.idl:1205
This interface is a generic interface to define the coordinate of a 2D point.
Definition: EwUtilDefinition.idl:27
double getZCoordinate()
Return the Z coordinate.
double getXCoordinate()
Return the X coordinate.
EwErrorCode setZCoordinate(double dZCoordinate)
Set the Z coordinate.
EwErrorCode setXCoordinate(double dXCoordinate)
Set the X coordinate.
EwErrorCode setYCoordinate(double dYCoordinate)
Set the Y coordinate.
double getYCoordinate()
Return the Y coordinate.
This interface for export DWG to image.
Definition: EwUtilDefinition.idl:95
EwErrorCode save()
Save DWG in picture.
long getHeight(EwErrorCode *errorCode)
Get height (in pixel) of picture.
EwErrorCode setShowInsertionPoint(VARIANT_BOOL bShowInsertionPoint)
Set value to show or hide insertion point of DWG in picture.
VARIANT_BOOL getShowInsertionPoint(EwErrorCode *errorCode)
Get value to show or hide insertion point of DWG in picture.
VARIANT_BOOL getHideAttributes(EwErrorCode *errorCode)
Get value to Show or Hide attribute of DWG in picture.
EwErrorCode setWidth(long lWidth)
Set width (in pixel) of picture.
EwErrorCode setHideAttributes(VARIANT_BOOL bHideAttributes)
Set value to Show or Hide attribute of DWG in picture.
EwErrorCode setSaveImageType(EwSaveImageType ewSaveImageType)
Set save type (JPEG, PNG, BMP or GIF).
VARIANT_BOOL getOverwriteDestination(EwErrorCode *errorCode)
Get overwrite value true if overwrite.
EwErrorCode setDWGFilePath(BSTR strFilePath)
Set DWG file path to export.
BSTR getDestinationFilePath(EwErrorCode *errorCode)
Get export destination file.
BSTR getDWGFilePath(EwErrorCode *errorCode)
Get file path DWG to export.
EwSaveImageType getSaveImageType(EwErrorCode *errorCode)
Return save type (JPEG, PNG, BMP or GIF).
EwErrorCode setHeight(long lHeight)
Set height (in pixel) of picture.
EwErrorCode setOverwriteDestination(VARIANT_BOOL bOverrideIfExist)
Set as true if you can overwrite existing file.
long getWidth(EwErrorCode *errorCode)
Get Width (in pixel) of picture.
EwErrorCode setDestinationFilePath(BSTR strFilePath)
Set destination file to export DWG in picture.