 | PdfiumFPDFTOOLS_ParseDefaultAppearance Method |
Parse default appearance string
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFTOOLS_ParseDefaultAppearance(
string defaultAppearance,
out float[] strokeColor,
out float[] fillColor,
out string fontName,
out float fontSize,
out FS_MATRIX matrix
)
Public Shared Function FPDFTOOLS_ParseDefaultAppearance (
defaultAppearance As String,
<OutAttribute> ByRef strokeColor As Single(),
<OutAttribute> ByRef fillColor As Single(),
<OutAttribute> ByRef fontName As String,
<OutAttribute> ByRef fontSize As Single,
<OutAttribute> ByRef matrix As FS_MATRIX
) As Boolean
public:
static bool FPDFTOOLS_ParseDefaultAppearance(
String^ defaultAppearance,
[OutAttribute] array<float>^% strokeColor,
[OutAttribute] array<float>^% fillColor,
[OutAttribute] String^% fontName,
[OutAttribute] float% fontSize,
[OutAttribute] FS_MATRIX^% matrix
)
static member FPDFTOOLS_ParseDefaultAppearance :
defaultAppearance : string *
strokeColor : float32[] byref *
fillColor : float32[] byref *
fontName : string byref *
fontSize : float32 byref *
matrix : FS_MATRIX byref -> bool
public static boolean FPDFTOOLS_ParseDefaultAppearance(
String defaultAppearance,
/** @attribute OutAttribute */ /** @ref */float[] strokeColor,
/** @attribute OutAttribute */ /** @ref */float[] fillColor,
/** @attribute OutAttribute */ /** @ref */String fontName,
/** @attribute OutAttribute */ /** @ref */float fontSize,
/** @attribute OutAttribute */ /** @ref */FS_MATRIX matrix
)
Patagames.Pdf.Pdfium.FPDFTOOLS_ParseDefaultAppearance = function(defaultAppearance, strokeColor, fillColor, fontName, fontSize, 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
BooleanTrue if successfull; false otherwise.
See Also