Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
CHARFORMAT2 (Structures)
 
.
Summary
TODO - a short description

C# Definition:

[StructLayout(LayoutKind.Sequential, Pack=4, CharSet=CharSet.Auto)]

public struct CHARFORMAT2

{

    public int cbSize;
    public int dwMask;
    public int dwEffects;
    public int yHeight;
    public int yOffset;
    public int crTextColor;
    public byte bCharSet;
    public byte bPitchAndFamily;
    [MarshalAs( UnmanagedType.ByValTStr, SizeConst=32 )]
    public string szFaceName;
    public short wWeight;
    public short sSpacing;
    public int crBackColor;
    public int lcid;
    public int dwReserved;
    public short sStyle;
    public short wKerning;
    public byte bUnderlineType;
    public byte bAnimation;
    public byte bRevAuthor;
    public byte bReserved1;

}

VB Definition:

<StructLayout(LayoutKind.Sequential, Pack := 4, CharSet := CharSet.Auto)> _

Public Structure CHARFORMAT2

    Public cbSize As Integer
    Public dwMask As Integer
    Public dwEffects As Integer
    Public yHeight As Integer
    Public yOffset As Integer
    Public crTextColor As Integer
    Public bCharSet As Byte
    Public bPitchAndFamily As Byte
    <MarshalAs(UnmanagedType.ByValTStr, SizeConst := 32)> _
    Public szFaceName As String
    Public wWeight As Short
    Public sSpacing As Short
    Public crBackColor As Integer
    Public lcid As Integer
    Public dwReserved As Integer
    Public sStyle As Short
    Public wKerning As Short
    Public bUnderlineType As Byte
    Public bAnimation As Byte
    Public bRevAuthor As Byte
    Public bReserved1 As Byte

End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
CHARFORMAT2 on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions