BenSelect Documentation
SetFont Method
See Also  Send Feedback
ETI.Report Namespace > PdfFileHelper Class : SetFont Method
canvas
The PDF page canvas.
fontName
The global font name.
Adds a new font with specified properties to the end of the collection of document fonts if needed and apply the font to the given canvas.

Syntax

JScript 
public function SetFont( 
   canvas : BitMiracle.Docotic.Pdf.PdfCanvas,
   fontName : PdfFileHelper.Media.Font
) : boolean;

Parameters

canvas
The PDF page canvas.
fontName
The global font name.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2024 All Rights Reserved.