Sack Library Documentation
ContentsIndexReferenceHome
Example
POINTER data = NULL; // gets filled with font data - initialize to NULL or a previously returned FONTDATA.
_32 data_length = 0; // result font data length.
   
Font font = PickFont( 0, 0, &data_length, &data, NULL );
   
{
    // and like I really need to exemplify saving a block of data...
    FILE *file = fopen( "font_description", "wb" );
    fwrite( data, 1, data_length, file );
    fclose( file );
}
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.