Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / Image Class / Create Method / Create(Page,String,PointD,PointD) Method
Eplan.EplApi.DataModel.Page the Image will be placed on.
path to graphical file containing the image
Eplan.EplApi.Base.PointD representing 1st image's corner
Eplan.EplApi.Base.PointD representing 2nd image's corner

In This Topic
    Create(Page,String,PointD,PointD) Method
    In This Topic
    Creates the Image object.
    Syntax

    Parameters

    page
    Eplan.EplApi.DataModel.Page the Image will be placed on.
    fileName
    path to graphical file containing the image
    pntStart
    Eplan.EplApi.Base.PointD representing 1st image's corner
    pntEnd
    Eplan.EplApi.Base.PointD representing 2nd image's corner
    Exceptions
    ExceptionDescription
    Thrown when page is null.
    Thrown when the Image cannot be created.
    Thrown when the Image has already been created.
    Thrown when given Eplan.EplApi.DataModel.Page has PageType sets to ExternalDocument.
    See Also