Debenu Quick PDF logo

SetHTMLItalicFont

Text, HTML text

Description

Specifies the font to use when an <em> or <i> tag is encountered when using DrawHTMLText or DrawHTMLTextBox.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetHTMLItalicFont(FontSet: WideString; 
  FontID: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetHTMLItalicFont(FontSet As String,
  FontID As Long) As Long

DLL

int DPLSetHTMLItalicFont(int InstanceID, wchar_t * FontSet, int FontID)

Parameters

FontSet The name of the font set to use. For this version of the library it should always be "Default".
FontID The ID of the font to use

Return values

0 The specified FontID is not a valid font
1 The font was set successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport