CreateImageBackground Method (IViewManager)
Creates an image background using the specified image.
.NET Syntax
COM native C++ | |
---|
HRESULT CreateImageBackground(
const dsString& FileName,
,
dsImageBackgroundPosition_e Position,
double OffsetX,
,
double OffsetY,
,
double ScaleX,
,
double ScaleY
,
IImageBackground** ImageBackground
) |
C++ | |
---|
DSRESULT CreateImageBackground(
BSTR FileName,
,
dsImageBackgroundPosition_e Position,
DOUBLE OffsetX,
,
DOUBLE OffsetY,
,
DOUBLE ScaleX,
,
DOUBLE ScaleY
,
dsImageBackground** ImageBackground
) |
Parameters
- FileName
- Path and file name of image
- Position
- Position of image as defined in dsImageBackgroundPosition_e
- OffsetX
- x offset of the image
- OffsetY
- y offset of the image
- ScaleX
- x scale of the image
- ScaleY
- y scale of the image
Parameters
- ImageBackground[out] or Return Value
- Image background
Example
Remarks
See Also
Availability
DraftSight V1R5.0