Skip to main content

ApiPictureForm

Represents the ApiPictureForm class.

Methods

MethodReturnsDescription
ClearNoneClears the current form.
CopyApiFormCopies the current form (copies with the shape if it exists).
GetClassType"form"Returns a type of the ApiFormBase class.
GetFormKeystringReturns the current form key.
GetFormTypeFormTypeReturns a type of the current form.
GetImageBase64ImgReturns an image in the base64 format from the current picture form.
GetPicturePositionpercentage[]Returns the picture position inside the current form.
GetScaleFlagScaleFlagReturns the current scaling condition of the picture form.
GetTextstringReturns the text from the current form.\ Returns the value as a string if possible for the given form type*
GetTextPrApiTextPrReturns the text properties from the current form.\ Used if possible for this type of form*
GetTipTextstringReturns the tip text of the current form.
GetWrapperShapeApiShapeReturns a shape in which the form is placed to control the position and size of the fixed size form frame.\ The null value will be returned for the inline forms.
IsFixedbooleanChecks if the current form is fixed size.
IsLockAspectRatiobooleanChecks if the aspect ratio of the current picture form is locked or not.
IsRequiredbooleanChecks if the current form is required.
IsRespectBordersbooleanChecks if the form border width is respected or not.
MoveCursorOutsideNonePlaces a cursor before/after the current form.
SetBackgroundColorbooleanSets the background color to the current form.
SetBorderColorbooleanSets the border color to the current form.
SetFormKeybooleanSets a key to the current form.
SetImagebooleanSets an image to the current picture form.
SetLockAspectRatiobooleanLocks the aspect ratio of the current picture form.
SetPicturePositionbooleanSets the picture position inside the current form:\ -0 - the picture is placed on the left/top;\ -50 - the picture is placed in the center;\ -100 - the picture is placed on the right/bottom.
SetPlaceholderTextbooleanSets the placeholder text to the current form.\ Can't be set to checkbox or radio button.*
SetRequiredbooleanSpecifies if the current form should be required.
SetRespectBordersbooleanRespects the form border width when scaling the image.
SetScaleFlagbooleanSets the scaling condition to the current picture form.
SetTextPrbooleanSets the text properties to the current form.\ Used if possible for this type of form*
SetTipTextbooleanSets the tip text to the current form.
ToFixedbooleanConverts the current form to a fixed size form.
ToInlinebooleanConverts the current form to an inline form.\ Picture form can't be converted to an inline form, it's always a fixed size object.*