C# Class Vestris.ResourceLib.FontDirectoryResource

A font directory, RT_FONTDIR resource.
Inheritance: Resource
显示文件 Open project: dblock/resourcelib Class Usage Examples

Public Methods

Method Description
FontDirectoryResource ( ) : System

A new font resource.

FontDirectoryResource ( IntPtr hModule, IntPtr hResource, ResourceId type, ResourceId name, UInt16 language, int size ) : System

An existing font resource.

Private Methods

Method Description
Read ( IntPtr hModule, IntPtr lpRes ) : IntPtr

Read the font resource.

Write ( BinaryWriter w ) : void

Write the font directory to a binary stream.

Method Details

FontDirectoryResource() public method

A new font resource.
public FontDirectoryResource ( ) : System
return System

FontDirectoryResource() public method

An existing font resource.
public FontDirectoryResource ( IntPtr hModule, IntPtr hResource, ResourceId type, ResourceId name, UInt16 language, int size ) : System
hModule System.IntPtr Module handle.
hResource System.IntPtr Resource ID.
type ResourceId Resource type.
name ResourceId Resource name.
language System.UInt16 Language ID.
size int Resource size.
return System