Description
Opens the insert picture dialog and set the type of the new picture.
Note: since the photo type ID may be different on each GN4 system, you may need to hard-code it in your script which calls this, or set a global numeric variable in the Custom addin of Fred
Syntax
Page.ImgInsertType (iTypeId) |
iTypeId
Required. Id of the type for the pictures.
Example
Page.ImgInsertType ( 102 )
Context
Page designer
All image related commands
AddImageEx, ArticleNewPicture, ImgInsert, ImgInsertId, ImgInsertType, ImgNewDummyEx
ImgCrop, ImgSetCrop, GetImgCropHeight, GetImgCropLeft, GetImgCropTop, GetImgCropWidth, GetImgHeight, GetImgWidth
ImgZoom, ImgZoomPct, ViewZoomImage, GetImgZoomPctX, GetImgZoomPctY
GetSelectedImgId, GetSelectedImgDummy,
ImgGetColor, ImgSetColor, ImgGetFlag, ImgSetFlag, ImgImportPath Method
ImgTrace, ImgTraceDlg, ImgTraceEx
ImgUpdate, TxtSelectReference, ViewShowImg
All object creation related commands
AddBoxEx, AddElliEx, AddHRuleEx, AddImageEx, AddLibObj, AddLibObjId, AddVRuleEx, ArticleNewPicture
EditPaste, EditPasteAttrib, EditPasteEx, ImgInsert, ImgInsertType, ObjDuplicate