MiniProjectBuilderCreateMiniProject Method |
Gets a graph document as mini project. The mini project is an
AltaxoDocument consisting of the provided graph document
AltaxoDocument and all data that is neccessary
to plot that graph.
Namespace: Altaxo.Graph.ProceduresAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static AltaxoDocument CreateMiniProject(
GraphDocumentBase graph,
bool ensureEmbeddedObjectRenderingOptionsStoredInGraph
)
Parameters
- graph GraphDocumentBase
- The existing graph (this graph is cloned before added to the mini project).
- ensureEmbeddedObjectRenderingOptionsStoredInGraph Boolean
- If set to true, the current embedded rendering options are stored as property in the graph document of the mini project.
This ensures that later on the graph is rendered in the client document exactly as it was chosen to be in the current project. If the mini project is not used for COM, leave that flag to false.
Return Value
AltaxoDocumentThe mini project containing the cloned graph and all related data.
See Also