API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdAnnotation Class > OdAnnotation Methods > setCarouselButtonsFont Method > OdAnnotation::setCarouselButtonsFont Method (OdString&, Text::FontStyle)
OdAnnotation::setCarouselButtonsFont Method (OdString&, Text::FontStyle)
Syntax
C++
void setCarouselButtonsFont(const OdString& fontName, Text::FontStyle fontStyle = Text::kRegular);
Parameters 
Description 
const OdString& fontName 
[in] A new font name.  
Text::FontStyle fontStyle = Text::kRegular 
[in] A new font style. 

Sets the carousel buttons font name and style. 

 

This method can set a font that is not represented in the list of standard fonts. By default the normal Times New Roman font is used.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.