Aspose.Barcode for PHP via Java Generation and Recognition API docs
CaptionParameters Class Reference

Inherits BaseJavaClass.

Public Member Functions

 getText ()
 
 setText ($value)
 
 getFont ()
 
 getVisible ()
 
 setVisible ($value)
 
 getTextColor ()
 
 setTextColor ($rgbValue)
 
 getPadding ()
 
 setPadding (Padding $value)
 
 getAlignment ()
 
 setAlignment ($value)
 

Detailed Description

Caption parameters.

Member Function Documentation

◆ getAlignment()

getAlignment ( )

Caption test horizontal alignment. Default value: StringAlignment.Center.

◆ getFont()

getFont ( )

Caption font. Default value: Arial 8pt regular.

◆ getPadding()

getPadding ( )

Captions paddings. Default value for CaptionAbove: 5pt 5pt 0 5pt. Default value for CaptionBelow: 0 5pt 5pt 5pt.

◆ getText()

getText ( )

Caption text. Default value: empty string.

◆ getTextColor()

getTextColor ( )

Caption text color. Default value BLACK.

◆ getVisible()

getVisible ( )

Caption text visibility. Default value: false.

◆ setAlignment()

setAlignment (   $value)

Caption test horizontal alignment. Default value: StringAlignment.Center.

◆ setPadding()

setPadding ( Padding  $value)

Captions paddings. Default value for CaptionAbove: 5pt 5pt 0 5pt. Default value for CaptionBelow: 0 5pt 5pt 5pt.

◆ setText()

setText (   $value)

Caption text. Default value: empty string.

◆ setTextColor()

setTextColor (   $rgbValue)

Caption text color. Default value BLACK.

◆ setVisible()

setVisible (   $value)

Caption text visibility. Default value: false.