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