Debenu Quick PDF logo

SetTextMode

Text

Description

Specifies the mode to draw subsequent text in. Modes 4 to 7 are used to add text to the clipping path. If one of these modes is selected and text is drawn onto the page, then subsequent items drawn onto the page will be clipped to the outline of the text.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetTextMode(TextMode: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetTextMode(TextMode As Long) As Long

DLL

int DPLSetTextMode(int InstanceID, int TextMode)

Parameters

TextMode The text mode:
0 = Filled text (default)
1 = Outline text
2 = Fill then stroke text
3 = Invisible text
4 = Fill text and add to clipping path
5 = Stroke text and add to clipping path
6 = Fill then stroke text and add to clipping path
7 = Add text to clipping path
Anything else = Filled text (default)

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport