RenderToGraphics()

ISlide::RenderToGraphics(System::SharedPtr<Export::IRenderingOptions>, System::SharedPtr<System::Drawing::Graphics>) method

Renders certain slide to a Graphics object.

virtual void Aspose::Slides::ISlide::RenderToGraphics(System::SharedPtr<Export::IRenderingOptions> options, System::SharedPtr<System::Drawing::Graphics> graphics)=0

Arguments

ParameterTypeDescription
optionsSystem::SharedPtr<Export::IRenderingOptions>Rendering options.
graphicsSystem::SharedPtr<System::Drawing::Graphics>The object where to render to.
Deprecated
The method will be removed after release of version 24.7.

ISlide::RenderToGraphics(System::SharedPtr<Export::IRenderingOptions>, System::SharedPtr<System::Drawing::Graphics>, float, float) method

Renders certain slide to a Graphics object with custom scaling.

virtual void Aspose::Slides::ISlide::RenderToGraphics(System::SharedPtr<Export::IRenderingOptions> options, System::SharedPtr<System::Drawing::Graphics> graphics, float scaleX, float scaleY)=0

Arguments

ParameterTypeDescription
optionsSystem::SharedPtr<Export::IRenderingOptions>Rendering options.
graphicsSystem::SharedPtr<System::Drawing::Graphics>The object where to render to.
scaleXfloatThe scale for rendering the slide (1.0 is 100%) in the x-axis direction.
scaleYfloatThe scale for rendering the slide (1.0 is 100%) in the y-axis direction.
Deprecated
The method will be removed after release of version 24.7.

ISlide::RenderToGraphics(System::SharedPtr<Export::IRenderingOptions>, System::SharedPtr<System::Drawing::Graphics>, System::Drawing::Size) method

Renders certain slide to a Graphics object using specified size.

virtual void Aspose::Slides::ISlide::RenderToGraphics(System::SharedPtr<Export::IRenderingOptions> options, System::SharedPtr<System::Drawing::Graphics> graphics, System::Drawing::Size renderingSize)=0

Arguments

ParameterTypeDescription
optionsSystem::SharedPtr<Export::IRenderingOptions>Rendering options.
graphicsSystem::SharedPtr<System::Drawing::Graphics>The object where to render to.
renderingSizeSystem::Drawing::SizeThe maximum dimensions (in pixels) that can be occupied by the rendered slide.
Deprecated
The method will be removed after release of version 24.7.

See Also