AnnoObjGetFontProps

Usage                  Long AnnoObjGetFontProps(PropertyType As Short)

Description         Gets the font properties for the selected aotNote (=2) or aotText(=9)object.

Parameters         PropertyType        Long                This parameter specifies which font property is required.

 

                                                                                    Available values:

                                                                                    fontHeight(=0)

                                                                                    fontWidth(=1)

                                                                                    fontEscapement(=2)

                                                                                    fontOrientation(=3)

                                                                                    fontWeight(=4)

                                                                                    fontItalicType(=5)

                                                                                    fontUnderline(=6)

                                                                                    fontStrikeout(=7)

                                                                                    fontCharset(=8)

                                                                                    fontOutprecision(=9)

                                                                                    fontClipprecision(=10)

                                                                                    fontQuality(=11)

                                                                                    fontPitchandfamiliy(=12)

 

Return value      Font propery or 0 on error. Call GetLastAnnoError method for last error code occurred.

Programming Notes        See Microsoft Windows API's LOGFONT structure for more information.