GraphDocumentExportActionsRenderAsBitmap(GraphDocument, EmbeddedObjectRenderingOptions, PixelFormat) Method |
Renders the graph document as a bitmap using the specified embedded-object rendering options.
Namespace: Altaxo.Graph.Graph3DAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static Bitmap? RenderAsBitmap(
this GraphDocument document,
EmbeddedObjectRenderingOptions renderingOptions,
PixelFormat pixelFormat = PixelFormat.Format32bppArgb
)
Parameters
- document GraphDocument
- The graph document to render.
- renderingOptions EmbeddedObjectRenderingOptions
- The rendering options.
- pixelFormat PixelFormat (Optional)
- The pixel format.
Return Value
BitmapThe rendered bitmap, or
null if rendering was unsuccessful.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
GraphDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also