Table of Contents

Class PrintContext

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class PrintContext : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
PrintContext
Implements
Inherited Members

Constructors

PrintContext(bool, params ConstructArgument[])

protected PrintContext(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

PrintContext(IntPtr, bool)

protected PrintContext(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

CreatePangoContext()

public Context CreatePangoContext()

Returns

Context

CreatePangoLayout()

public Layout CreatePangoLayout()

Returns

Layout

GetCairoContext()

public Context GetCairoContext()

Returns

Context

GetDpiX()

public double GetDpiX()

Returns

double

GetDpiY()

public double GetDpiY()

Returns

double

GetGType()

public static Type GetGType()

Returns

Type

GetHardMargins(out double, out double, out double, out double)

public bool GetHardMargins(out double top, out double bottom, out double left, out double right)

Parameters

top double
bottom double
left double
right double

Returns

bool

GetHeight()

public double GetHeight()

Returns

double

GetPageSetup()

public PageSetup GetPageSetup()

Returns

PageSetup

GetPangoFontmap()

public FontMap GetPangoFontmap()

Returns

FontMap

GetWidth()

public double GetWidth()

Returns

double

SetCairoContext(Context, double, double)

public void SetCairoContext(Context cr, double dpiX, double dpiY)

Parameters

cr Context
dpiX double
dpiY double