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

In This Topic
    GetPhysicalDimensionOfImage Method
    In This Topic
    Returns size of the bitmap in pixels.
    Syntax
    public PointD GetPhysicalDimensionOfImage( 
       string strFileName
    )
    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