GetAnnotationFont

Description         Gets the attributes of the AnnotationFont member of the BlackIceDEVMODE structure. (The font information is contained in a LOGFONT Windows structure.) Gets the value of the Font Selection.

                            This method gets the font properties by the attributes (except the font face name.

Syntax                 RetVal = [BIAdvPrn.]GetAnnotationFont  pBlackIceDEVMODE  lfHeight  lfWidth  lfEscapement  lfOrientation  lfWeight  lfItalic  lfUnderline  lfStrikeOut  lfCharSet  lfOutPrecision  lfClipPrecision  lfQuality  lfPitchAndFamily

Returns               RetVal                    String              Face name of the annotation font.

Remarks             pBlackIceDEVMODE                  Long    Pointer to the DEVMODE structure.

                            lfHeight                  Long                Specifies the height, in logical units, of the font's character cell or character

                            lfWidth                   Long                Specifies the average width, in logical units, of characters in the font

                            lfEscapement         Long                Specifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device

                            lfOrientation          Long                Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device

                            lfWeight                 Long                Specifies the weight of the font in the range 0 through 1000

                            lfItalic                     Short               Specifies an italic font if set to TRUE

                            lfUnderline            Short               Specifies an underlined font if set to TRUE

                            lfStrikeOut             Short               Specifies a strikeout font if set to TRUE

                            lfCharSet               Short               Specifies the character set

                            lfOutPrecision       Short               Specifies the output precision. The output precision defines how closely the output must match the requested font's height, width, character orientation, escapement, pitch, and font type

                            lfClipPrecision       Short               Specifies the clipping precision. The clipping precision defines how to clip characters that are partially outside the clipping region

                            lfQuality                 Short               Specifies the output quality. The output quality defines how carefully the graphics device interface (GDI) must attempt to match the logical-font attributes to those of an actual physical font

                            lfPitchAndFamily Short               Specifies the pitch and family of the font

See Also