|
Description:Returns the width of the current image. If the image is a raster or bitmap image such as TIF, then this would be the width of the image in pixels. If the image is a vector format (such as DXF, or DWG), then this value will vary depending on the default units in that drawing. Notes:This does not return the scaled width of the page. If you would like the overall width of the page in Feet, then you will need to multiply it by the ScaleX variable. Copy and paste code into a New PlanSwift Script. Pascal Example:ShowMessage(intToStr(ImageWidth * ScaleX)); Visual Basic Example:ShowMessage(intToStr(ImageWidth * ScaleX)) Enterprise and Developer editions
|
