THPDFPage.SetTextRenderingMode Method
HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THPDFPage.SetTextRenderingMode

THPDFPage

 

Top  Previous  Next

Determines text rendering mode.

 

TPDFTextRenderingMode = (trFill, trStroke, trFillThenStroke, trInvisible, trFillClipping, trStrokeClipping, trFillStrokeClipping, trClipping);

 

Delphi syntax:

procedure SetTextRenderingMode( Mode: TPDFTextRenderingMode );

 

C++ syntax:

void __fastcall SetTextRenderingMode ( TPDFTextRenderingMode Mode );

 

Description:

Determines whether showing text causes glyph outlines to be stroked, filled, used as a clipping boundary, or some combination of the three.

 

Example

 

Value                Meaning


 

trFill

 

Fill text.

 

ft

 

trStroke

 

Stroke text.

 

st

 

trFillThenStroke

 

Fill, then stroke text.

 

fst

 

trInvisible

 

 

Neither .ll nor stroke text (invisible).

 

 

 

trFillClipping

 

Fill text and add to path for clipping.

 

ftp

 

trStrokeClipping

 

Stroke text and add to path for clipping.

 

stp

 

trFillStrokeClipping

 

Fill, then stroke text and add to path for clipping.

 

fasstx

 

trClipping

 

Add text to path for clipping.

 

str

 

 

Copyright©2007-2019 losLab.com