phpdftk API Documentation

TextBlock
in package

FinalYes

A block of text extracted from a PDF page, grouped by font/size.

Table of Contents

Properties

$fontName  : string|null
$fontSize  : float|null
$text  : string

Methods

__construct()  : mixed

Properties

$fontName read-only

public string|null $fontName = null

$fontSize read-only

public float|null $fontSize = null

Methods

__construct()

public __construct(string $text[, string|null $fontName = null ][, float|null $fontSize = null ]) : mixed
Parameters
$text : string
$fontName : string|null = null
$fontSize : float|null = null

        
On this page

Search results