Pageflex Document Action API
HorizontalScale Property
Namespaces > Pageflex.Scripting > Image > HorizontalScale
Gets or sets Width as a percentage of the preferred width specified in the underlying image data.
Syntax
RemarksReturns Width as a percentage of the preferred width specified in the underlying image data.
The default for a new image is 100.
Setting this property will affect Width when Fit is FitImage, and will cause a WrongImageFitException otherwise.
Exceptions| Exception | Condition |
|---|---|
| WrongImageFitException | Fit must be FitImage. |
| ValueTooSmallException | The value must be 1 or greater. |
| ElementNotVisibleException | The referenced shape is not Visible. |
| StaleScriptingObjectException | This object's associated internal object no longer exists. |
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)