API Reference
Class
IcoRenderOptions
Options for ICO rendering (multi-size).
Inheritance
- Object
- IcoRenderOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method BarcodeIcoRenderer.Render
- Method BarcodeIcoRenderer.RenderToStream
- Method MatrixIcoRenderer.Render
- Method MatrixIcoRenderer.RenderToStream
- Method QrIcoRenderer.Render
- Method QrIcoRenderer.RenderToStream
Constructors
public IcoRenderOptions() #Methods
public IcoRenderOptions WithPreserveAspectRatio(Boolean preserveAspectRatio = true) #Returns:
IcoRenderOptionsSets whether to preserve aspect ratio when rendering icons.
Parameters
- preserveAspectRatio System.Boolean = true
public IcoRenderOptions WithSizes(Int32[] sizes) #Returns:
IcoRenderOptionsSets the output icon sizes in pixels.
Parameters
- sizes System.Int32[]