RingDotNetfor Ring

System.Drawing.Printing

21 wrapped types. Load them with using { "System.Drawing.Printing" }. Click a class to open it.

InvalidPrinterException class · extends SystemException

System.Drawing.Printing.InvalidPrinterException · assembly System.Drawing.Common

Implements: ISerializable

Constructors

new InvalidPrinterException(PrinterSettings settings)

Ring: new InvalidPrinterException(args) uses one constructor; the others are chosen by the parameter names: new InvalidPrinterException().@New([ :param = value ]) or dnNew("InvalidPrinterException",[ :param = value ]).

Methods

MethodRing call.NET overloads
GetObjectDataGetObjectData(p1,p2)void GetObjectData(SerializationInfo info, StreamingContext context)

Members of the base class are inherited.

Margins class

System.Drawing.Printing.Margins · assembly System.Drawing.Common

Implements: ICloneable

Constructors

new Margins()
new Margins(int left, int right, int top, int bottom)

Ring: new Margins(args) uses one constructor; the others are chosen by the parameter names: new Margins().@New([ :param = value ]) or dnNew("Margins",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Leftintread, writeo.Left o.Left = v
Rightintread, writeo.Right o.Right = v
Topintread, writeo.Top o.Top = v
Bottomintread, writeo.Bottom o.Bottom = v

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])object Clone()
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
MarginsConverter class · extends ExpandableObjectConverter

System.Drawing.Printing.MarginsConverter · assembly System.Drawing.Common

Constructors

new MarginsConverter()

Ring: new MarginsConverter(args) uses one constructor; the others are chosen by the parameter names: new MarginsConverter().@New([ :param = value ]) or dnNew("MarginsConverter",[ :param = value ]).

Methods

MethodRing call.NET overloads
CanConvertFromcallMethod("CanConvertFrom",[p1,p2])bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
CanConvertTocallMethod("CanConvertTo",[p1,p2])bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
ConvertFromConvertFrom([ :context = …, :culture = …, :value = … ])object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
ConvertToConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ])object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
CreateInstanceCreateInstance([ :context = …, :propertyValues = … ])object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
GetCreateInstanceSupportedcallMethod("GetCreateInstanceSupported",[p1])bool GetCreateInstanceSupported(ITypeDescriptorContext context)

Members of the base class are inherited.

PageSettings class

System.Drawing.Printing.PageSettings · assembly System.Drawing.Common

Implements: ICloneable

Constructors

new PageSettings()
new PageSettings(PrinterSettings printerSettings)

Ring: new PageSettings(args) uses one constructor; the others are chosen by the parameter names: new PageSettings().@New([ :param = value ]) or dnNew("PageSettings",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
BoundsRectanglereado.Bounds
Colorboolread, writeo.Color o.Color = v
HardMarginXfloatreado.HardMarginX
HardMarginYfloatreado.HardMarginY
Landscapeboolread, writeo.Landscape o.Landscape = v
MarginsMarginsread, writeo.Margins o.Margins = v
PaperSizePaperSizeread, writeo.PaperSize o.PaperSize = v
PaperSourcePaperSourceread, writeo.PaperSource o.PaperSource = v
PrintableAreaRectangleFreado.PrintableArea
PrinterResolutionPrinterResolutionread, writeo.PrinterResolution o.PrinterResolution = v
PrinterSettingsPrinterSettingsread, writeo.PrinterSettings o.PrinterSettings = v

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])object Clone()
CopyToHdevmodeCopyToHdevmode(p1)void CopyToHdevmode(IntPtr hdevmode)
SetHdevmodeSetHdevmode(p1)void SetHdevmode(IntPtr hdevmode)
ToStringcallMethod("ToString",[])string ToString()
PaperSize class

System.Drawing.Printing.PaperSize · assembly System.Drawing.Common

Constructors

new PaperSize()
new PaperSize(string name, int width, int height)

Ring: new PaperSize(args) uses one constructor; the others are chosen by the parameter names: new PaperSize().@New([ :param = value ]) or dnNew("PaperSize",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Heightintread, writeo.Height o.Height = v
KindPaperKindreado.Kind
PaperNamestringread, writeo.PaperName o.PaperName = v
RawKindintread, writeo.RawKind o.RawKind = v
Widthintread, writeo.Width o.Width = v

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()
PaperSource class

System.Drawing.Printing.PaperSource · assembly System.Drawing.Common

Constructors

new PaperSource()

Ring: new PaperSource(args) uses one constructor; the others are chosen by the parameter names: new PaperSource().@New([ :param = value ]) or dnNew("PaperSource",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
KindPaperSourceKindreado.Kind
RawKindintread, writeo.RawKind o.RawKind = v
SourceNamestringread, writeo.SourceName o.SourceName = v

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()
PreviewPageInfo class sealed

System.Drawing.Printing.PreviewPageInfo · assembly System.Drawing.Common

Constructors

new PreviewPageInfo(Image image, Size physicalSize)

Ring: new PreviewPageInfo(args) uses one constructor; the others are chosen by the parameter names: new PreviewPageInfo().@New([ :param = value ]) or dnNew("PreviewPageInfo",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ImageImagereado.Image
PhysicalSizeSizereado.PhysicalSize
PreviewPrintController class · extends PrintController

System.Drawing.Printing.PreviewPrintController · assembly System.Drawing.Common

Constructors

new PreviewPrintController()

Ring: new PreviewPrintController(args) uses one constructor; the others are chosen by the parameter names: new PreviewPrintController().@New([ :param = value ]) or dnNew("PreviewPrintController",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsPreviewboolreado.getIsPreview()
UseAntiAliasboolread, writeo.UseAntiAlias o.UseAntiAlias = v

Methods

MethodRing call.NET overloads
GetPreviewPageInfocallMethod("GetPreviewPageInfo",[])PreviewPageInfo[] GetPreviewPageInfo()
OnEndPageOnEndPage(p1,p2)void OnEndPage(PrintDocument document, PrintPageEventArgs e)
OnEndPrintOnEndPrint(p1,p2)void OnEndPrint(PrintDocument document, PrintEventArgs e)
OnStartPagecallMethod("OnStartPage",[p1,p2])Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e)
OnStartPrintOnStartPrint(p1,p2)void OnStartPrint(PrintDocument document, PrintEventArgs e)

Members of the base class are inherited.

PrintController class abstract

System.Drawing.Printing.PrintController · assembly System.Drawing.Common

Properties and fields

NameTypeAccessIn Ring
IsPreviewboolreado.IsPreview

Methods

MethodRing call.NET overloads
OnEndPageOnEndPage(p1,p2)void OnEndPage(PrintDocument document, PrintPageEventArgs e)
OnEndPrintOnEndPrint(p1,p2)void OnEndPrint(PrintDocument document, PrintEventArgs e)
OnStartPagecallMethod("OnStartPage",[p1,p2])Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e)
OnStartPrintOnStartPrint(p1,p2)void OnStartPrint(PrintDocument document, PrintEventArgs e)
PrintDocument class · extends Component

System.Drawing.Printing.PrintDocument · assembly System.Drawing.Common

Implements: IComponent, IDisposable

Constructors

new PrintDocument()

Ring: new PrintDocument(args) uses one constructor; the others are chosen by the parameter names: new PrintDocument().@New([ :param = value ]) or dnNew("PrintDocument",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
DefaultPageSettingsPageSettingsread, writeo.DefaultPageSettings o.DefaultPageSettings = v
DocumentNamestringread, writeo.DocumentName o.DocumentName = v
OriginAtMarginsboolread, writeo.OriginAtMargins o.OriginAtMargins = v
PrintControllerPrintControllerread, writeo.PrintController o.PrintController = v
PrinterSettingsPrinterSettingsread, writeo.PrinterSettings o.PrinterSettings = v

Methods

MethodRing call.NET overloads
PrintcallMethod("Print",[])void Print()
ToStringcallMethod("ToString",[])string ToString()

Events

EventHandler typeIn Ring
BeginPrintPrintEventHandlero.setBeginPrintEvent(code) · o.clearBeginPrintEvent()
EndPrintPrintEventHandlero.setEndPrintEvent(code) · o.clearEndPrintEvent()
PrintPagePrintPageEventHandlero.setPrintPageEvent(code) · o.clearPrintPageEvent()
QueryPageSettingsQueryPageSettingsEventHandlero.setQueryPageSettingsEvent(code) · o.clearQueryPageSettingsEvent()

Members of the base class are inherited.

PrinterResolution class

System.Drawing.Printing.PrinterResolution · assembly System.Drawing.Common

Constructors

new PrinterResolution()

Ring: new PrinterResolution(args) uses one constructor; the others are chosen by the parameter names: new PrinterResolution().@New([ :param = value ]) or dnNew("PrinterResolution",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
KindPrinterResolutionKindread, writeo.Kind o.Kind = v
Xintread, writeo.X o.X = v
Yintread, writeo.Y o.Y = v

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()
PrinterSettings class

System.Drawing.Printing.PrinterSettings · assembly System.Drawing.Common

Implements: ICloneable

Constructors

new PrinterSettings()

Ring: new PrinterSettings(args) uses one constructor; the others are chosen by the parameter names: new PrinterSettings().@New([ :param = value ]) or dnNew("PrinterSettings",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CanDuplexboolreado.CanDuplex
Copiesshortread, writeo.Copies o.Copies = v
Collateboolread, writeo.Collate o.Collate = v
DefaultPageSettingsPageSettingsreado.DefaultPageSettings
DuplexDuplexread, writeo.Duplex o.Duplex = v
FromPageintread, writeo.FromPage o.FromPage = v
IsDefaultPrinterboolreado.IsDefaultPrinter
IsPlotterboolreado.IsPlotter
IsValidboolreado.IsValid
LandscapeAngleintreado.LandscapeAngle
MaximumCopiesintreado.MaximumCopies
MaximumPageintread, writeo.MaximumPage o.MaximumPage = v
MinimumPageintread, writeo.MinimumPage o.MinimumPage = v
PrintFileNamestringread, writeo.PrintFileName o.PrintFileName = v
PaperSizesPrinterSettings.PaperSizeCollectionreado.PaperSizes
PaperSourcesPrinterSettings.PaperSourceCollectionreado.PaperSources
PrintRangePrintRangeread, writeo.PrintRange o.PrintRange = v
PrintToFileboolread, writeo.PrintToFile o.PrintToFile = v
PrinterNamestringread, writeo.PrinterName o.PrinterName = v
PrinterResolutionsPrinterSettings.PrinterResolutionCollectionreado.PrinterResolutions
SupportsColorboolreado.SupportsColor
ToPageintread, writeo.ToPage o.ToPage = v
InstalledPrintersPrinterSettings.StringCollectionread · statico.InstalledPrinters

Methods

MethodRing call.NET overloads
ClonecallMethod("Clone",[])object Clone()
CreateMeasurementGraphicsCreateMeasurementGraphics(NULL)
CreateMeasurementGraphics(value)
CreateMeasurementGraphics([ :honorOriginAtMargins = … ])
CreateMeasurementGraphics([ :pageSettings = … ])
CreateMeasurementGraphics([ :pageSettings = …, :honorOriginAtMargins = … ])
Graphics CreateMeasurementGraphics()
Graphics CreateMeasurementGraphics(bool honorOriginAtMargins)
Graphics CreateMeasurementGraphics(PageSettings pageSettings)
Graphics CreateMeasurementGraphics(PageSettings pageSettings, bool honorOriginAtMargins)
GetHdevmodeGetHdevmode(NULL)
GetHdevmode(value)
GetHdevmode([ :pageSettings = … ])
IntPtr GetHdevmode()
IntPtr GetHdevmode(PageSettings pageSettings)
GetHdevnamescallMethod("GetHdevnames",[])IntPtr GetHdevnames()
IsDirectPrintingSupportedIsDirectPrintingSupported(p1)bool IsDirectPrintingSupported(ImageFormat imageFormat)
bool IsDirectPrintingSupported(Image image)
SetHdevmodeSetHdevmode(p1)void SetHdevmode(IntPtr hdevmode)
SetHdevnamesSetHdevnames(p1)void SetHdevnames(IntPtr hdevnames)
ToStringcallMethod("ToString",[])string ToString()
PrinterSettingsPaperSizeCollection class

System.Drawing.Printing.PrinterSettings+PaperSizeCollection · assembly System.Drawing.Common

Implements: ICollection, IEnumerable

Constructors

new PrinterSettingsPaperSizeCollection(PaperSize[] array)

Ring: new PrinterSettingsPaperSizeCollection(args) uses one constructor; the others are chosen by the parameter names: new PrinterSettingsPaperSizeCollection().@New([ :param = value ]) or dnNew("PrinterSettingsPaperSizeCollection",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count

Indexer

o.Item(int index) → PaperSize

Methods

MethodRing call.NET overloads
AddAdd(p1)int Add(PaperSize paperSize)
CopyToCopyTo(p1,p2)void CopyTo(PaperSize[] paperSizes, int index)
GetEnumeratorcallMethod("GetEnumerator",[])IEnumerator GetEnumerator()
PrinterSettingsPaperSourceCollection class

System.Drawing.Printing.PrinterSettings+PaperSourceCollection · assembly System.Drawing.Common

Implements: ICollection, IEnumerable

Constructors

new PrinterSettingsPaperSourceCollection(PaperSource[] array)

Ring: new PrinterSettingsPaperSourceCollection(args) uses one constructor; the others are chosen by the parameter names: new PrinterSettingsPaperSourceCollection().@New([ :param = value ]) or dnNew("PrinterSettingsPaperSourceCollection",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count

Indexer

o.Item(int index) → PaperSource

Methods

MethodRing call.NET overloads
AddAdd(p1)int Add(PaperSource paperSource)
CopyToCopyTo(p1,p2)void CopyTo(PaperSource[] paperSources, int index)
GetEnumeratorcallMethod("GetEnumerator",[])IEnumerator GetEnumerator()
PrinterSettingsPrinterResolutionCollection class

System.Drawing.Printing.PrinterSettings+PrinterResolutionCollection · assembly System.Drawing.Common

Implements: ICollection, IEnumerable

Constructors

new PrinterSettingsPrinterResolutionCollection(PrinterResolution[] array)

Ring: new PrinterSettingsPrinterResolutionCollection(args) uses one constructor; the others are chosen by the parameter names: new PrinterSettingsPrinterResolutionCollection().@New([ :param = value ]) or dnNew("PrinterSettingsPrinterResolutionCollection",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count

Indexer

o.Item(int index) → PrinterResolution

Methods

MethodRing call.NET overloads
AddAdd(p1)int Add(PrinterResolution printerResolution)
CopyToCopyTo(p1,p2)void CopyTo(PrinterResolution[] printerResolutions, int index)
GetEnumeratorcallMethod("GetEnumerator",[])IEnumerator GetEnumerator()
PrinterSettingsStringCollection class

System.Drawing.Printing.PrinterSettings+StringCollection · assembly System.Drawing.Common

Implements: ICollection, IEnumerable

Constructors

new PrinterSettingsStringCollection(string[] array)

Ring: new PrinterSettingsStringCollection(args) uses one constructor; the others are chosen by the parameter names: new PrinterSettingsStringCollection().@New([ :param = value ]) or dnNew("PrinterSettingsStringCollection",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count

Indexer

o.Item(int index) → string

Methods

MethodRing call.NET overloads
AddcallMethod("Add",[p1])int Add(string value)
CopyToCopyTo(p1,p2)void CopyTo(string[] strings, int index)
GetEnumeratorcallMethod("GetEnumerator",[])IEnumerator GetEnumerator()
PrinterUnitConvert class sealed

System.Drawing.Printing.PrinterUnitConvert · assembly System.Drawing.Common

Methods

MethodRing call.NET overloads
ConvertConvert(p1,p2,p3)static double Convert(double value, PrinterUnit fromUnit, PrinterUnit toUnit)
static int Convert(int value, PrinterUnit fromUnit, PrinterUnit toUnit)
static Point Convert(Point value, PrinterUnit fromUnit, PrinterUnit toUnit)
static Size Convert(Size value, PrinterUnit fromUnit, PrinterUnit toUnit)
static Rectangle Convert(Rectangle value, PrinterUnit fromUnit, PrinterUnit toUnit)
static Margins Convert(Margins value, PrinterUnit fromUnit, PrinterUnit toUnit)
PrintEventArgs class · extends CancelEventArgs

System.Drawing.Printing.PrintEventArgs · assembly System.Drawing.Common

Constructors

new PrintEventArgs()

Ring: new PrintEventArgs(args) uses one constructor; the others are chosen by the parameter names: new PrintEventArgs().@New([ :param = value ]) or dnNew("PrintEventArgs",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
PrintActionPrintActionreado.PrintAction

Members of the base class are inherited.

PrintPageEventArgs class · extends EventArgs

System.Drawing.Printing.PrintPageEventArgs · assembly System.Drawing.Common

Constructors

new PrintPageEventArgs(Graphics graphics, Rectangle marginBounds, Rectangle pageBounds, PageSettings pageSettings)

Ring: new PrintPageEventArgs(args) uses one constructor; the others are chosen by the parameter names: new PrintPageEventArgs().@New([ :param = value ]) or dnNew("PrintPageEventArgs",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Cancelboolread, writeo.Cancel o.Cancel = v
GraphicsGraphicsreado.Graphics
HasMorePagesboolread, writeo.HasMorePages o.HasMorePages = v
MarginBoundsRectanglereado.MarginBounds
PageBoundsRectanglereado.PageBounds
PageSettingsPageSettingsreado.PageSettings

Members of the base class are inherited.

QueryPageSettingsEventArgs class · extends PrintEventArgs

System.Drawing.Printing.QueryPageSettingsEventArgs · assembly System.Drawing.Common

Constructors

new QueryPageSettingsEventArgs(PageSettings pageSettings)

Ring: new QueryPageSettingsEventArgs(args) uses one constructor; the others are chosen by the parameter names: new QueryPageSettingsEventArgs().@New([ :param = value ]) or dnNew("QueryPageSettingsEventArgs",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
PageSettingsPageSettingsread, writeo.PageSettings o.PageSettings = v

Members of the base class are inherited.

StandardPrintController class · extends PrintController

System.Drawing.Printing.StandardPrintController · assembly System.Drawing.Common

Constructors

new StandardPrintController()

Ring: new StandardPrintController(args) uses one constructor; the others are chosen by the parameter names: new StandardPrintController().@New([ :param = value ]) or dnNew("StandardPrintController",[ :param = value ]).

Methods

MethodRing call.NET overloads
OnEndPageOnEndPage(p1,p2)void OnEndPage(PrintDocument document, PrintPageEventArgs e)
OnEndPrintOnEndPrint(p1,p2)void OnEndPrint(PrintDocument document, PrintEventArgs e)
OnStartPagecallMethod("OnStartPage",[p1,p2])Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e)
OnStartPrintOnStartPrint(p1,p2)void OnStartPrint(PrintDocument document, PrintEventArgs e)

Members of the base class are inherited.