AnnoObjSetFont

#include “BiAnno.h”

void CALLBACK AnnoObjSetFont(INT_PTR pAnno, LOGFONTA *plf)

Description

Sets the font type for the selected A_TEXT, A_NOTE or A_COMMENT object.

This affects all the text in A_TEXT or A_NOTE annotations. In Comment annotations (A_COMMENT type), if the editor window is visible, this function only changes the font for the selected text. If no text is selected in the editor window, this function will change the font of all the text inside the Comment annotation.

To change the font at the current cursor position please use AnnoObjSetFontEx.

Parameters

INT_PTR

pAnno

Annotation handle

LOGFONTA

*plf

Logfont Structure

Return value

None

Programming Notes

None

Code Example

None