CodeGlyphDrawingExtensions
OfficeIMO.Drawing.CodeGlyphX
Converts typed CodeGlyphX symbols to OfficeIMO.Drawing scenes through the neutral SVG boundary.
Inheritance
- object
- CodeGlyphDrawingExtensions
Methods
public static OfficeDrawing ToOfficeDrawing(QrCode qrCode, QrSvgRenderOptions? options = null) #Renders a QR code and imports it as an OfficeIMO drawing.
Parameters
- qrCode CodeGlyphX.QrCode
- options CodeGlyphX.Rendering.Svg.QrSvgRenderOptions? = null
Returns
OfficeDrawingExceptions
NotSupportedException– The SVG options include a raster logo that the drawing importer cannot preserve.
public static OfficeDrawing ToOfficeDrawing(QrCode qrCode, out int unsupportedFeatureCount, QrSvgRenderOptions? options = null) #Renders a QR code and imports it while reporting SVG features that required fallback.
Parameters
- qrCode CodeGlyphX.QrCode
- unsupportedFeatureCount int
- options CodeGlyphX.Rendering.Svg.QrSvgRenderOptions? = null
Returns
OfficeDrawingExceptions
NotSupportedException– The SVG options include a raster logo that the drawing importer cannot preserve.
public static OfficeDrawing ToOfficeDrawing(BitMatrix modules, MatrixSvgRenderOptions? options = null) #Renders a generic matrix symbol and imports it as an OfficeIMO drawing.
Parameters
- modules CodeGlyphX.BitMatrix
- options CodeGlyphX.Rendering.Svg.MatrixSvgRenderOptions? = null
Returns
OfficeDrawingpublic static OfficeDrawing ToOfficeDrawing(BitMatrix modules, out int unsupportedFeatureCount, MatrixSvgRenderOptions? options = null) #Renders a generic matrix symbol and imports it while reporting SVG features that required fallback.
Parameters
- modules CodeGlyphX.BitMatrix
- unsupportedFeatureCount int
- options CodeGlyphX.Rendering.Svg.MatrixSvgRenderOptions? = null
Returns
OfficeDrawingpublic static OfficeDrawing ToOfficeDrawing(Barcode1D barcode, BarcodeSvgRenderOptions? options = null) #Renders a linear barcode and imports it as an OfficeIMO drawing.
Parameters
- barcode CodeGlyphX.Barcode1D
- options CodeGlyphX.Rendering.Svg.BarcodeSvgRenderOptions? = null
Returns
OfficeDrawingpublic static OfficeDrawing ToOfficeDrawing(Barcode1D barcode, out int unsupportedFeatureCount, BarcodeSvgRenderOptions? options = null) #Renders a linear barcode and imports it while reporting SVG features that required fallback.
Parameters
- barcode CodeGlyphX.Barcode1D
- unsupportedFeatureCount int
- options CodeGlyphX.Rendering.Svg.BarcodeSvgRenderOptions? = null
Returns
OfficeDrawing