PdfParameters
PdfParameters class
Namespace: Aspose.Barcode.Generation
PDF parameters wrapper. Expects an underlying javaClass instance that provides the corresponding getter/setter methods returning/accepting CMYK strings like “30_100_0_30” or null.
Constructors
| Name | Description |
|---|---|
| __construct |
Methods
| Name | Static | Description |
|---|---|---|
| isTextAsPath | No | Are paths used instead of text (use if Unicode characters are not displayed) Default value: false. |
| setTextAsPath | No | Are paths used instead of text (use if Unicode characters are not displayed) Default value: false. |
Properties
| Name | Read/Write | Description |
|---|---|---|
| CMYKBackColor | Read/Write | Nullable. CMYK back color value. Null means CMYK color is not used, instead normal RGB color is used. |
| CMYKBarColor | Read/Write | Nullable. CMYK color value of bar code. Null means CMYK color is not used, instead normal RGB color is used. |
| CMYKCaptionAboveColor | Read/Write | Nullable. CMYK color value of caption above. Null means CMYK color is not used, instead normal RGB color is used. |
| CMYKCaptionBelowColor | Read/Write | Nullable. CMYK color value of caption below. Null means CMYK color is not used, instead normal RGB color is used. |
| CMYKCodetextColor | Read/Write | Nullable. CMYK color value of Codetext. Null means CMYK color is not used, instead normal RGB color is used. |
PdfParameters__construct(PdfParametersDTO $pdfParametersDto)
| Parameter | Type | Description |
|---|---|---|
$pdfParametersDto | PdfParametersDTO |
isTextAsPathisTextAsPath()
Are paths used instead of text (use if Unicode characters are not displayed) Default value: false.
setTextAsPathsetTextAsPath(bool $value)
Are paths used instead of text (use if Unicode characters are not displayed) Default value: false.
| Parameter | Type | Description |
|---|---|---|
$value | bool |
CMYKBackColor
Access: Read/Write
Nullable. CMYK back color value. Null means CMYK color is not used, instead normal RGB color is used.
Nullable. CMYK back color value. Null means CMYK color is not used, instead normal RGB color is used.
| Parameter | Type | Description |
|---|---|---|
$value | CMYKColor |
CMYKBarColor
Access: Read/Write
Nullable. CMYK color value of bar code. Null means CMYK color is not used, instead normal RGB color is used.
Nullable. CMYK color value of bar code. Null means CMYK color is not used, instead normal RGB color is used.
| Parameter | Type | Description |
|---|---|---|
$value | CMYKColor |
CMYKCaptionAboveColor
Access: Read/Write
Nullable. CMYK color value of caption above. Null means CMYK color is not used, instead normal RGB color is used.
Nullable. CMYK color value of caption above. Null means CMYK color is not used, instead normal RGB color is used.
| Parameter | Type | Description |
|---|---|---|
$value | CMYKColor |
CMYKCaptionBelowColor
Access: Read/Write
Nullable. CMYK color value of caption below. Null means CMYK color is not used, instead normal RGB color is used.
Nullable. CMYK color value of caption below. Null means CMYK color is not used, instead normal RGB color is used.
| Parameter | Type | Description |
|---|---|---|
$value | CMYKColor |
CMYKCodetextColor
Access: Read/Write
Nullable. CMYK color value of Codetext. Null means CMYK color is not used, instead normal RGB color is used.
Nullable. CMYK color value of Codetext. Null means CMYK color is not used, instead normal RGB color is used.
| Parameter | Type | Description |
|---|---|---|
$value | CMYKColor |