#region Using Directives
using System;
using System.Runtime.InteropServices;
#endregion Using Directives
namespace ScintillaNET
{
///
/// Struct used for passing parameters to FormatRange()
///
[StructLayout(LayoutKind.Sequential)]
public struct RangeToFormat
{
///
/// The HDC (device context) we print to
///
public IntPtr hdc;
///
/// The HDC we use for measuring (may be same as hdc)
///
public IntPtr hdcTarget;
///
/// Rectangle in which to print
///
public PrintRectangle rc;
///
/// Physically printable page size
///
public PrintRectangle rcPage;
///
/// Range of characters to print
///
public CharacterRange chrg;
}
}