UIGraphics.BeginPDFContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BeginPDFContext(NSMutableData, CGRect, NSDictionary) |
Pushes a new PDF rendering context and make it the current graphics context. |
BeginPDFContext(String, CGRect, CGPDFInfo) |
Pushes a new PDF rendering context and make it the current graphics context. |
BeginPDFContext(String, CGRect, NSDictionary) |
Pushes a new PDF rendering context and make it the current graphics context. |
BeginPDFContext(NSMutableData, CGRect, NSDictionary)
Pushes a new PDF rendering context and make it the current graphics context.
public static void BeginPDFContext (Foundation.NSMutableData data, CoreGraphics.CGRect bounds, Foundation.NSDictionary documentInfo);
static member BeginPDFContext : Foundation.NSMutableData * CoreGraphics.CGRect * Foundation.NSDictionary -> unit
Parameters
- data
- NSMutableData
- bounds
- CGRect
- documentInfo
- NSDictionary
Remarks
UIKit keeps a stack of image context, this method creates a new image context, makes it the default and places it at the top of the graphic context stacks.
To restore the previous graphics context, call the EndImageContext() method.
You can get the current context by calling the GetImageFromCurrentImageContext() method.
This function can only be invoked from the UI thread.
Applies to
BeginPDFContext(String, CGRect, CGPDFInfo)
Pushes a new PDF rendering context and make it the current graphics context.
public static void BeginPDFContext (string file, CoreGraphics.CGRect bounds, CoreGraphics.CGPDFInfo documentInfo);
static member BeginPDFContext : string * CoreGraphics.CGRect * CoreGraphics.CGPDFInfo -> unit
Parameters
- file
- String
- bounds
- CGRect
- documentInfo
- CGPDFInfo
Remarks
UIKit keeps a stack of image context, this method creates a new image context, makes it the default and places it at the top of the graphic context stacks.
To restore the previous graphics context, call the EndImageContext() method.
You can get the current context by calling the GetImageFromCurrentImageContext() method.
This function can only be invoked from the UI thread.
Applies to
BeginPDFContext(String, CGRect, NSDictionary)
Pushes a new PDF rendering context and make it the current graphics context.
public static void BeginPDFContext (string file, CoreGraphics.CGRect bounds, Foundation.NSDictionary documentInfo);
static member BeginPDFContext : string * CoreGraphics.CGRect * Foundation.NSDictionary -> unit
Parameters
- file
- String
- bounds
- CGRect
- documentInfo
- NSDictionary
Remarks
UIKit keeps a stack of image context, this method creates a new image context, makes it the default and places it at the top of the graphic context stacks.
To restore the previous graphics context, call the EndImageContext() method.
You can get the current context by calling the GetImageFromCurrentImageContext() method.
This function can only be invoked from the UI thread.