API 文件集 > Miscellaneous > Object ProDrawingimage > Function ProDrawingimageAdd
Function ProDrawingimageAdd
Description
Add image to drawing sheet.
Synopsis
#include <ProDrawing.h>
ProDrawingimageAdd
(
ProDrawing drawing
/* (In)
The Drawing
*/
int sheet
/* (In)
the sheet number
*/
ProCharPath img_path
/* (In)
specifies the location of the image
*/
double x_offset
/* (In)
image offset at x. x offset can be set with reference to width from ProDrawingSheetSizeGet().
*/
double y_offset
/* (In)
image offset at y. y offset can be set with reference to height from the ProDrawingSheetSizeGet().
*/
double height
/* (In)
image height
*/
double width
/* (In)
image width
*/
)
Returns
invalid drawing.
no image found at the specified path.
Successfully add image to drawing sheet.
這是否有幫助?