API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCheckBox Class
OdCheckBox Class
OdPdfPublish__OdCheckBoxOdPdfPublish__OdCheckBoxOdPdfPublish__OdCheckBox
Syntax
C++
class OdCheckBox : public OdObject;

PdfPublishCheckBox.h

This class implements a checkbox control encapsulated in a .pdf document created with Publish SDK. A checkbox control is used in a .pdf document to set any boolean parameters and can accept two values: true (the checkbox is switched on) and false (the checkbox is switched off).

 
Name 
Description 
 
Destroys a checkbox control. 
 
Name 
Description 
 
Returns the current value of the flag that determines whether the checkbox has a border. If the flag value is equal to true, the checkbox has a border, otherwise it does not. The method fills a passed boolean value with the checkbox border flag value and returns it to a calling subroutine.
 
 
Returns the current checkbox border color. The method fills a passed ODCOLORREF value with the checkbox border color value and returns it to a calling subroutine.
 
 
Returns the current checkbox border style. The method fills a passed value with current border style and returns it to a calling subroutine.
 
 
Returns the current checkbox border thickness. The method fills a passed value with the current border thickness and returns it to a calling subroutine.
 
 
Returns the current checkbox default state. If the default state is equal to true, the checkbox is switched on when it displays in a document, otherwise the checbox is switched off. The method fills a boolean object with the checkbox default state value and returns it to a calling subroutine.
 
 
Returns the current export value for the checkbox. The method fills a passed string object with the checkbox export value and returns it to a calling subroutine.
 
 
Returns the current checkbox fill color. The method fills a passed ODCOLORREF value with the checkbox fill color value and returns it to a calling subroutine.
 
 
Returns the current font parameters used for displaying the checkbox caption. The method fills passed values and returns them to a calling subroutine.
 
 
Returns the current font size used for displaying the checkbox caption. The method fills a passed integer value with the checkbox font size and returns it to a calling subroutine.
 
 
Returns the current value of the flag that determines whether the checkbox is locked. If the flag value is equal to true, the checkbox is locked and becomes disabled, otherwise it is enabled and unlocked. The method fills a passed boolean value with the checkbox lock flag value and returns it to a calling subroutine.
 
 
Returns the current name of the checkbox. The method fills a passed string object with the checkbox name and returns it to a calling subroutine.
 
 
Returns the current value of the flag that determines whether the checkbox should be printed. If the checkbox should be printed, the flag value is equal to true, otherwise it is equal to false. The method fills a passed boolean value with the checkbox printability flag value and returns it to a calling subroutine.
 
 
Returns the current text color used for displaying the checkbox caption. The method fills a passed ODCOLORREF value with the checkbox caption color and returns it to a calling subroutine.
 
 
Returns the current rotation for the checkbox text. The method fills a passed value with current rotation value and returns it to a calling subroutine.
 
 
Returns the current tooltip text for the checkbox. Tooltip text is text that appears when a user hovers the mouse pointer over the checkbox.
The method fills a passed string object with the checkbox tooltip text and returns it to a calling subroutine.
 
 
Returns the current value of the visibility flag for the checkbox. The visibility flag determines whether the checkbox is visible in a document (if true) or is hidden (if false). The method fills a passed boolean value with the checkbox visibility flag value and returns it to a calling subroutine.
 
 
Sets a new value of the flag that determines whether the checkbox has a border. If the flag value is equal to true, the checkbox has a border, otherwise it does not.
 
 
Sets a checkbox border color.
 
 
Sets a checkbox border style.
 
 
Sets a checkbox border thickness.
 
 
Sets a checkbox default state. If the default state is equal to true, the checkbox is switched on when it is displayed in a document, otherwise the checbox is switched off.
 
 
Sets an export value for the checkbox.
 
 
Sets a checkbox fill color.
 
 
This is the overview for the setFont method overload. 
 
Sets a font size used for displaying the checkbox caption.
 
 
Sets a new value of the flag that determines whether the checkbox is locked. If the flag value is equal to true, the checkbox is locked and becomes disabled, otherwise it is enabled and unlocked.
 
 
Sets a name for the checkbox.
 
 
Sets a new value of the flag that determines whether the checkbox should be printed. If the checkbox should be printed, the flag value is equal to true, otherwise it is equal to false.
 
 
Sets a text color used for displaying the checkbox caption.
 
 
Sets a new rotation value for the checkbox text.
 
 
Sets tooltip text for the checkbox. Tooltip text is text that appears when a user hovers the mouse pointer over the checkbox.
 
 
Sets a new value of the visibility flag for the checkbox. The visibility flag determines whether the checkbox is visible in a document (if true) or is hidden (if false).
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.