Pageflex Document Action API
VerticalScale Property
Namespaces > Pageflex.Scripting > Image > VerticalScale
Gets or sets Height as a percentage of the preferred height specified in the underlying image data.
Syntax
Remarks
Returns Height as a percentage of the preferred height specified in the underlying image data.
The default for a new image is 100.
Setting this property will affect Height 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)