WorkflowView.SaveWorkflowImage 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.
Saves an image of the WorkflowView based on the specified image format.
Overloads
SaveWorkflowImage(Stream, ImageFormat) |
Saves an image of the WorkflowView to the specified stream using the specified image format. |
SaveWorkflowImage(String, ImageFormat) |
Saves an image of the WorkflowView to the specified file using the specified image format. |
SaveWorkflowImage(Stream, ImageFormat)
Saves an image of the WorkflowView to the specified stream using the specified image format.
public:
void SaveWorkflowImage(System::IO::Stream ^ stream, System::Drawing::Imaging::ImageFormat ^ imageFormat);
public void SaveWorkflowImage(System.IO.Stream stream, System.Drawing.Imaging.ImageFormat imageFormat);
member this.SaveWorkflowImage : System.IO.Stream * System.Drawing.Imaging.ImageFormat -> unit
Public Sub SaveWorkflowImage (stream As Stream, imageFormat As ImageFormat)
Parameters
- imageFormat
- ImageFormat
The ImageFormat to use to save the workflow view image.
Exceptions
stream
or imageFormat
contains a null reference (Nothing
in Visual Basic).
Remarks
The workflow view image is created as a bitmap.
Applies to
SaveWorkflowImage(String, ImageFormat)
Saves an image of the WorkflowView to the specified file using the specified image format.
public:
void SaveWorkflowImage(System::String ^ imageFile, System::Drawing::Imaging::ImageFormat ^ imageFormat);
public void SaveWorkflowImage(string imageFile, System.Drawing.Imaging.ImageFormat imageFormat);
member this.SaveWorkflowImage : string * System.Drawing.Imaging.ImageFormat -> unit
Public Sub SaveWorkflowImage (imageFile As String, imageFormat As ImageFormat)
Parameters
- imageFile
- String
The path to the file in which to store the workflow view image.
- imageFormat
- ImageFormat
The ImageFormat to use to save the workflow view image.
Exceptions
imageFile
or imageFormat
contains a null reference (Nothing
in Visual Basic).
Remarks
The workflow view image is created as a bitmap.