Class Converter

Class Converter

De naam: Aspose.Svg.Converters Verzameling: Aspose.SVG.dll (25.5.0)

Gedeelde facade alleen voor de meest voorkomende conversie scenario’s.Het biedt een breed scala aan conversies naar de populaire formaten, zoals PDF, XPS, beeldformaten, enz.Meer specifieke conversie (rendering, besparing) gebruikersgevallen worden gepresenteerd door bekende en gedocumenteerde low-level API-functies.

[ComVisible(true)]
public static class Converter

Inheritance

object Converter

Geëerbiede leden

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Methods

Converteren(ImageVectorizerConfiguratie, string en string)

Convert een raster beeld op de schijf naar SVG-formaat.

public static void ConvertImageToSVG(ImageVectorizerConfiguration configuration, string imageFile, string outputPath)

Parameters

configuration ImageVectorizerConfiguration

De Aspose.Svg.ImageVectorization.ImagevectorizerConfiguratie die traceerparameters beheert.

imageFile string

Weg naar de bron beeldbestand.

outputPath string

Route van bestemming voor de generatie SVG.

Converteren(ImageVectorizerConfiguratie, Stream, String)

Converteert een raster afbeelding die wordt verstrekt als een System.IO.Stream naar SVG-format.

public static void ConvertImageToSVG(ImageVectorizerConfiguration configuration, Stream imageStream, string outputPath)

Parameters

configuration ImageVectorizerConfiguration

De Aspose.Svg.ImageVectorization.ImagevectorizerConfiguratie die traceerparameters beheert.

imageStream Stream

Leesbare stroom die de bronfoto bevat.

outputPath string

Route van bestemming voor de generatie SVG.

ConversieVG(SVGDocument, XpsSaveOptions, string)

Convert SVG document naar xps.Result is een xps bestand.

public static void ConvertSVG(SVGDocument source, XpsSaveOptions options, string outputPath)

Parameters

source SVGDocument

De conversiebron.

options XpsSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(Url, XpsSaveOptions, string)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(Url url, XpsSaveOptions options, string outputPath)

Parameters

url Url

Oorspronkelijke document URL.

options XpsSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(Url, Configuratie, XpsSaveOptions, string)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(Url url, Configuration configuration, XpsSaveOptions options, string outputPath)

Parameters

url Url

Oorspronkelijke document URL.

configuration Configuration

De configuratie van het milieu.

options XpsSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(string, XpsSaveOptions, string)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(string sourcePath, XpsSaveOptions options, string outputPath)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options XpsSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(string, Configuratie, XpsSaveOptions, string)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(string sourcePath, Configuration configuration, XpsSaveOptions options, string outputPath)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options XpsSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(string, string, XpsSaveOptions, string)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(string content, string baseUri, XpsSaveOptions options, string outputPath)

Parameters

content string

Inline string SVG inhoud.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options XpsSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(string, string, configuratie, XpsSaveOptions, string)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(string content, string baseUri, Configuration configuration, XpsSaveOptions options, string outputPath)

Parameters

content string

Inline string SVG inhoud.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options XpsSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(SVGDocument, XpsSaveOptions, ICreateStreamProvider)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(SVGDocument document, XpsSaveOptions options, ICreateStreamProvider provider)

Parameters

document SVGDocument

De conversiebron.

options XpsSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(Url, XpsSaveOptions, ICreateStreamProvider)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(Url url, XpsSaveOptions options, ICreateStreamProvider provider)

Parameters

url Url

De URL van het document.

options XpsSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(Url, Configuratie, XpsSaveOptions, ICreateStreamProvider)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(Url url, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)

Parameters

url Url

De URL van het document.

configuration Configuration

De configuratie van het milieu.

options XpsSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, XpsSaveOptions, ICreateStreamProvider)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(string sourcePath, XpsSaveOptions options, ICreateStreamProvider provider)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options XpsSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, Configuratie, XpsSaveOptions, ICreateStreamProvider)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(string sourcePath, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options XpsSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, string, XpsSaveOptions, ICreateStreamProvider)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(string content, string baseUri, XpsSaveOptions options, ICreateStreamProvider provider)

Parameters

content string

Inline string SVG inhoud.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options XpsSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, string, configuratie, XpsSaveOptions, ICreateStreamProvider)

Convert svg-bron naar xps. resultaat is xps-bestand.

public static void ConvertSVG(string content, string baseUri, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)

Parameters

content string

Inline string SVG inhoud.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options XpsSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(SVGDocument, PdfSaveOptions, string)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(SVGDocument source, PdfSaveOptions options, string outputPath)

Parameters

source SVGDocument

De conversiebron.

options PdfSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(Url, PdfSaveOpties, string)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(Url url, PdfSaveOptions options, string outputPath)

Parameters

url Url

De URL van het document.

options PdfSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(Url, Configuratie, PdfSaveOpties, string)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(Url url, Configuration configuration, PdfSaveOptions options, string outputPath)

Parameters

url Url

De URL van het document.

configuration Configuration

De configuratie van het milieu.

options PdfSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(String, PdfSaveOpties, String)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(string sourcePath, PdfSaveOptions options, string outputPath)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options PdfSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(string, Configuratie, PdfSaveOpties, string)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(string sourcePath, Configuration configuration, PdfSaveOptions options, string outputPath)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options PdfSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(string, string, PdfSaveOptions, string)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(string content, string baseUri, PdfSaveOptions options, string outputPath)

Parameters

content string

Inline string SVG inhoud.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options PdfSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(string, string, configuratie, PdfSaveOpties, string)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(string content, string baseUri, Configuration configuration, PdfSaveOptions options, string outputPath)

Parameters

content string

Inline string SVG inhoud.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options PdfSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(SVGDocument, PdfSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(SVGDocument document, PdfSaveOptions options, ICreateStreamProvider provider)

Parameters

document SVGDocument

De conversiebron.

options PdfSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(Url, PdfSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(Url url, PdfSaveOptions options, ICreateStreamProvider provider)

Parameters

url Url

De URL van het document.

options PdfSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(Url, Configuratie, PdfSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(Url url, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)

Parameters

url Url

De URL van het document.

configuration Configuration

De configuratie van het milieu.

options PdfSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, PdfSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(string sourcePath, PdfSaveOptions options, ICreateStreamProvider provider)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options PdfSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, Configuratie, PdfSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(string sourcePath, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options PdfSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, string, PdfSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(string content, string baseUri, PdfSaveOptions options, ICreateStreamProvider provider)

Parameters

content string

De inhoud van het document.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options PdfSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, string, configuratie, PdfSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar pdf. resultaat is pdf-bestand.

public static void ConvertSVG(string content, string baseUri, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)

Parameters

content string

Inline string SVG inhoud.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options PdfSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(SVGDocument, ImageSaveOptions, string)

Convert SVG document naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(SVGDocument source, ImageSaveOptions options, string outputPath)

Parameters

source SVGDocument

De conversiebron.

options ImageSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(Url, ImageSaveOptions, String)

Convert SVG document naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(Url url, ImageSaveOptions options, string outputPath)

Parameters

url Url

De URL van het document.

options ImageSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(Url, Configuratie, ImageSaveOptions, string)

Convert SVG document naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(Url url, Configuration configuration, ImageSaveOptions options, string outputPath)

Parameters

url Url

De URL van het document.

configuration Configuration

De configuratie van het milieu.

options ImageSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(String, ImageSaveOptions, String)

Convert SVG document naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(string sourcePath, ImageSaveOptions options, string outputPath)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options ImageSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(string, Configuratie, ImageSaveOptions, string)

Convert SVG document naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(string sourcePath, Configuration configuration, ImageSaveOptions options, string outputPath)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options ImageSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(string, string, ImageSaveOptions, string)

Convert SVG document naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(string content, string baseUri, ImageSaveOptions options, string outputPath)

Parameters

content string

Inline string SVG inhoud.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options ImageSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(string, string, configuratie, ImageSaveOptions, string)

Convert SVG document naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(string content, string baseUri, Configuration configuration, ImageSaveOptions options, string outputPath)

Parameters

content string

Inline string SVG inhoud.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options ImageSaveOptions

Conversie opties.

outputPath string

Uitgangsbestand pad.

ConversieVG(SVGDocument, ImageSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(SVGDocument document, ImageSaveOptions options, ICreateStreamProvider provider)

Parameters

document SVGDocument

De conversiebron.

options ImageSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(Url, ImageSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(Url url, ImageSaveOptions options, ICreateStreamProvider provider)

Parameters

url Url

De URL van het document.

options ImageSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(Url, Configuratie, ImageSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(Url url, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)

Parameters

url Url

De URL van het document.

configuration Configuration

De configuratie van het milieu.

options ImageSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, ImageSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(string sourcePath, ImageSaveOptions options, ICreateStreamProvider provider)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options ImageSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, Configuratie, ImageSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(string sourcePath, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)

Parameters

sourcePath string

Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options ImageSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, string, ImageSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(string content, string baseUri, ImageSaveOptions options, ICreateStreamProvider provider)

Parameters

content string

Inline string SVG inhoud.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

options ImageSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

ConversieVG(string, string, configuratie, ImageSaveOptions, ICreateStreamProvider)

Convert SVG-bron naar afbeelding. resultaat is afbeeldingsbestand.

public static void ConvertSVG(string content, string baseUri, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)

Parameters

content string

Inline string SVG inhoud.

baseUri string

De basis URI van het document. Het zal worden gecombineerd met de huidige directory pad om een absolute URL te vormen.

configuration Configuration

De configuratie van het milieu.

options ImageSaveOptions

Conversie opties.

provider ICreateStreamProvider

De implementatie van de Aspose.Svg.IO.ICreateStreamProvider-interface, die zal worden gebruikt om een output stroom te krijgen.

 Nederlands