API-Dokumentation
>
Graphics and model display
>
Object ProText
> Function ProTextStyleSlantAngleSet
Function ProTextStyleSlantAngleSet
Description
Sets the slant angle of the text style. For non-ttf fonts you can set slant_angle to 20, to make the text italic.
Replacement in Object TOOLKIT:
pfcAnnotationTextStyle::SetSlantAngle
Synopsis
#include <
ProNote.h
>
ProError
ProTextStyleSlantAngleSet
(
ProTextStyle
text_style
/* (In)
The text style
*/
double slant_angle
/* (In)
The slant angle
*/
)
Returns
PRO_TK_NO_ERROR
The function successfully set the slant angle.
PRO_TK_BAD_INPUTS
One or more input arguments is invalid.
Sample Code References
pt_examples ( TestDtlnote.c )
pt_examples ( TestSetup.c )
pt_userguide ( UgNoteCreate.c )
User Guide References
Detail Note Text Data:ProTextStyleSlantAngleSet
Text Style Properties:ProTextStyleSlantAngleSet
Parent topic
Object ProText
War dies hilfreich?
Diese Website funktioniert am besten, wenn JavaScript aktiviert ist.