SetAnnotationFont

Description         Sets the AnnotationFont member of the BlackIceDEVMODE. Sets the value of the Font Selection.

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

Returns               RetVal                    Boolean           It is TRUE if the set was cuccessful, otherwise it is FALSE.

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

                            lfFaceName           String              A string that specifies the typeface name of the font

See Also