API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdText Class
OdText Class
OdPdfPublish__OdTextOdPdfPublish__OdTextOdPdfPublish__OdText
Syntax
C++
class OdText : public OdObject;

PdfPublishText.h

This class implements a text label for .pdf documents created with Publish SDK. Text label options consist of two parts: text content and formatting parameters (font type, size, color).

 
Name 
Description 
 
Destroys a text label. 
 
Name 
Description 
 
Returns the text label color. The method fills a passed ODCOLORREF value and returns it to a calling subroutine.
 
 
Returns the text label font type. The method fills a passed font type value and returns this string to a calling subroutine.
 
 
Returns the text label font size. The method fills a passed value and returns it to a calling subroutine.
 
 
Returns the text label content. The method fills a passed string object with label text and returns this string to a calling subroutine.
 
 
Sets the text label foreground color.
 
 
This is the overview for the setFont method overload. 
 
Sets the text label font size.
 
 
Sets the label text.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.