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

    Parameter NameDescription
    pageEplan.EplApi.DataModel.Page the Image will be placed on.
    fileNamepath to graphical file containing the image
    pntStartEplan.EplApi.Base.PointD representing 1st image's corner
    pntEndEplan.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