GetSelectedImgId Method

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:15

Description

Returns the id of the picture associated with the selected element

Returns 0 if nothing is selected or if the selected element is not a picture

If multiple elements are selected returns the data relative to the first selected element.

Syntax

dim iId as Integer = Page.GetSelectedImgId

Context

Page designer

See also

GetSelectedArticleId, GetSelectedTxtId

GetSelectedId

GetSelectedLockLevel

GetSelectedKind

ImgSubType

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