FindFormat

RedactorConfiguration.FindFormat method

Zoekt formaatconfiguraties voor een bepaalde bestandsextensie.

public DocumentFormatConfiguration FindFormat(string fileExtension)
Parameter Type Beschrijving
fileExtension String Bestandsextensie, formaat is “.ext”

Winstwaarde

Indien gevonden, exemplaar vanDocumentFormatConfiguration, anders nul

Voorbeelden

Het volgende voorbeeld laat zien hoe u ingebouwde of aangepaste handlers voor gebruikersindelingen kunt krijgen.

var configuration = RedactorConfiguration.GetInstance();
var formatSettings = configuration.FindFormat(".psd");

Zie ook