API Help
Eplan.EplApi.DataModel.Graphics Namespace / Image Class / GetPhysicalDimensionOfImage Method
Path to file.

GetPhysicalDimensionOfImage Method
Returns size of the bitmap in pixels.
Syntax
public PointD GetPhysicalDimensionOfImage( 
   string strFileName
)

Parameters

strFileName
Path to file.

Return Value

Eplan.EplApi.Base.PointD - height and width of the bitmap in pixels.
Exceptions
ExceptionDescription
Thrown when strFileName is null.
Thrown when dimension cannot be read
See Also