#region Using Directives using System; using System.Runtime.InteropServices; #endregion Using Directives namespace ScintillaNET { /// /// Struct used for specifying the printing bounds /// [StructLayout(LayoutKind.Sequential)] public struct PrintRectangle { #region Fields /// /// Left X Bounds Coordinate /// public int Left; /// /// Top Y Bounds Coordinate /// public int Top; /// /// Right X Bounds Coordinate /// public int Right; /// /// Bottom Y Bounds Coordinate /// public int Bottom; #endregion Fields #region Constructors public PrintRectangle(int iLeft, int iTop, int iRight, int iBottom) { Left = iLeft; Top = iTop; Right = iRight; Bottom = iBottom; } #endregion Constructors } }