PdfDocument.Write 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
| Write(NSUrl, PdfDocumentWriteOptions) | 
						 Writes the document to the specified URL with the specified options.  | 
        	
| Write(NSUrl, NSDictionary) | 
						 Writes the document to the specified URL with the specified options.  | 
        	
| Write(String, NSDictionary) | 
						 Writes the document to the specified path with the specified options.  | 
        	
| Write(NSUrl) | 
						 Writes the document to the specified URL.  | 
        	
| Write(String) | 
						 Writes the document to the specified path.  | 
        	
| Write(String, PdfDocumentWriteOptions) | 
						 Writes the document to the specified path with the specified options.  | 
        	
Write(NSUrl, PdfDocumentWriteOptions)
Writes the document to the specified URL with the specified options.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public bool Write(Foundation.NSUrl url, PdfKit.PdfDocumentWriteOptions options);
	member this.Write : Foundation.NSUrl * PdfKit.PdfDocumentWriteOptions -> bool
	Parameters
- url
 - NSUrl
 
The URL to which to write.
- options
 - PdfDocumentWriteOptions
 
The write options.
Returns
- Attributes
 
Applies to
Write(NSUrl, NSDictionary)
Writes the document to the specified URL with the specified options.
[Foundation.Export("writeToURL:withOptions:")]
public virtual bool Write(Foundation.NSUrl url, Foundation.NSDictionary options);
	abstract member Write : Foundation.NSUrl * Foundation.NSDictionary -> bool
override this.Write : Foundation.NSUrl * Foundation.NSDictionary -> bool
	Parameters
- url
 - NSUrl
 
The URL to which to write.
- options
 - NSDictionary
 
The write options.
Returns
- Attributes
 
Applies to
Write(String, NSDictionary)
Writes the document to the specified path with the specified options.
[Foundation.Export("writeToFile:withOptions:")]
public virtual bool Write(string path, Foundation.NSDictionary options);
	abstract member Write : string * Foundation.NSDictionary -> bool
override this.Write : string * Foundation.NSDictionary -> bool
	Parameters
- path
 - String
 
The path to which to write.
- options
 - NSDictionary
 
The write options.
Returns
- Attributes
 
Applies to
Write(NSUrl)
Writes the document to the specified URL.
[Foundation.Export("writeToURL:")]
public virtual bool Write(Foundation.NSUrl url);
	abstract member Write : Foundation.NSUrl -> bool
override this.Write : Foundation.NSUrl -> bool
	Parameters
- url
 - NSUrl
 
The URL to which to write.
Returns
- Attributes
 
Applies to
Write(String)
Writes the document to the specified path.
[Foundation.Export("writeToFile:")]
public virtual bool Write(string path);
	abstract member Write : string -> bool
override this.Write : string -> bool
	Parameters
- path
 - String
 
The path to which to write.
Returns
- Attributes
 
Applies to
Write(String, PdfDocumentWriteOptions)
Writes the document to the specified path with the specified options.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public bool Write(string path, PdfKit.PdfDocumentWriteOptions options);
	member this.Write : string * PdfKit.PdfDocumentWriteOptions -> bool
	Parameters
- path
 - String
 
The path to which to write.
- options
 - PdfDocumentWriteOptions
 
The write options.
Returns
- Attributes