PageInterface
in
Pdf page interface
Tags
Table of Contents
- addAnnotation() : PageInterface
- Add an annotation to the PDF page
- addImage() : PageInterface
- Add an image to the PDF page
- addLink() : PageInterface
- Add a link annotation to the PDF page
- addPath() : PageInterface
- Add a path to the Pdf page
- addText() : PageInterface
- Add text to the PDF page
- addUrl() : PageInterface
- Add a URL annotation to the PDF page
- getAnnotations() : array<string|int, mixed>
- Get annotation objects
- getHeight() : int
- Get the page height
- getImages() : array<string|int, mixed>
- Get image objects
- getIndex() : int
- Get the page index
- getPaths() : array<string|int, mixed>
- Get path objects
- getText() : array<string|int, mixed>
- Get text objects
- getWidth() : int
- Get the page width
- hasAnnotations() : bool
- Determine if the page has annotation objects
- hasImages() : bool
- Determine if the page has image objects
- hasPaths() : bool
- Determine if the page has path objects
- hasText() : bool
- Determine if the page has text objects
- setHeight() : PageInterface
- Set the page height
- setIndex() : PageInterface
- Set the page index
- setWidth() : PageInterface
- Set the page width
Methods
addAnnotation()
Add an annotation to the PDF page
public
addAnnotation(AbstractAnnotation $annotation, int $x, int $y) : PageInterface
Parameters
- $annotation : AbstractAnnotation
- $x : int
- $y : int
Return values
PageInterface —addImage()
Add an image to the PDF page
public
addImage(Image $image, int $x, int $y) : PageInterface
Parameters
- $image : Image
- $x : int
- $y : int
Return values
PageInterface —addLink()
Add a link annotation to the PDF page
public
addLink(Link $link, int $x, int $y) : PageInterface
Parameters
- $link : Link
- $x : int
- $y : int
Return values
PageInterface —addPath()
Add a path to the Pdf page
public
addPath(Path $path) : PageInterface
Parameters
- $path : Path
Return values
PageInterface —addText()
Add text to the PDF page
public
addText(Text $text, string $font, int $x, int $y) : PageInterface
Parameters
- $text : Text
- $font : string
- $x : int
- $y : int
Return values
PageInterface —addUrl()
Add a URL annotation to the PDF page
public
addUrl(Url $url, int $x, int $y) : PageInterface
Parameters
- $url : Url
- $x : int
- $y : int
Return values
PageInterface —getAnnotations()
Get annotation objects
public
getAnnotations() : array<string|int, mixed>
Return values
array<string|int, mixed> —getHeight()
Get the page height
public
getHeight() : int
Return values
int —getImages()
Get image objects
public
getImages() : array<string|int, mixed>
Return values
array<string|int, mixed> —getIndex()
Get the page index
public
getIndex() : int
Return values
int —getPaths()
Get path objects
public
getPaths() : array<string|int, mixed>
Return values
array<string|int, mixed> —getText()
Get text objects
public
getText() : array<string|int, mixed>
Return values
array<string|int, mixed> —getWidth()
Get the page width
public
getWidth() : int
Return values
int —hasAnnotations()
Determine if the page has annotation objects
public
hasAnnotations() : bool
Return values
bool —hasImages()
Determine if the page has image objects
public
hasImages() : bool
Return values
bool —hasPaths()
Determine if the page has path objects
public
hasPaths() : bool
Return values
bool —hasText()
Determine if the page has text objects
public
hasText() : bool
Return values
bool —setHeight()
Set the page height
public
setHeight(mixed $height) : PageInterface
Parameters
- $height : mixed
Return values
PageInterface —setIndex()
Set the page index
public
setIndex(int $i) : PageInterface
Parameters
- $i : int
Return values
PageInterface —setWidth()
Set the page width
public
setWidth(mixed $width) : PageInterface
Parameters
- $width : mixed