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
boolconstructArguments
ConstructArgument[]
PrintContext(IntPtr, bool)
protected PrintContext(IntPtr ptr, bool ownedRef)
Parameters
Methods
CreatePangoContext()
public Context CreatePangoContext()
Returns
CreatePangoLayout()
public Layout CreatePangoLayout()
Returns
GetCairoContext()
public Context GetCairoContext()
Returns
GetDpiX()
public double GetDpiX()
Returns
GetDpiY()
public double GetDpiY()
Returns
GetGType()
public static Type GetGType()
Returns
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
Returns
GetHeight()
public double GetHeight()
Returns
GetPageSetup()
public PageSetup GetPageSetup()
Returns
GetPangoFontmap()
public FontMap GetPangoFontmap()
Returns
GetWidth()
public double GetWidth()
Returns
SetCairoContext(Context, double, double)
public void SetCairoContext(Context cr, double dpiX, double dpiY)