Click or drag to resize

PdfiumFPDFTOOLS_ParseDefaultAppearance Method

Parse default appearance string

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDFTOOLS_ParseDefaultAppearance(
	string defaultAppearance,
	out float[] strokeColor,
	out float[] fillColor,
	out string fontName,
	out float fontSize,
	out FS_MATRIX matrix
)

Parameters

defaultAppearance  String
Defautl appearance string.
strokeColor  Single
Gets an array that contains color components or null if default appearance does not contain stroke color. The number of components (array length) depend on color type. (0 - transparent color, 1- gray color, 3 - RGB color, 4 - CMYK color).
fillColor  Single
Gets an array that contains color components or null if default appearance does not contain fill color. The number of components (array length) depend on color type. (0 - transparent color, 1- gray color, 3 - RGB color, 4 - CMYK color).
fontName  String
Gets font name or null if default appearance does not contain font.
fontSize  Single
Gets font size.
matrix  FS_MATRIX
Text matrix or null if default appearance does not contain text matrix.

Return Value

Boolean
True if successfull; false otherwise.
See Also