Skip to main content

GetClassType

Returns a type of the ApiRadiobuttonField class.

Syntax

expression.GetClassType();

expression - A variable that represents a ApiRadiobuttonField class.

Parameters

This method doesn't have any parameters.

Returns

"radiobuttonField"

Example

This example gets radiobutton field object class type.

let doc = Api.GetDocument();
let page = doc.GetPage(0);
let radiobuttonField = Api.CreateRadiobuttonField([10, 10, 25, 25]);
page.AddObject(radiobuttonField);

console.log('Field type is: ' + radiobuttonField.GetClassType());