CanLoad

IImageLoaderDescriptor.CanLoad method

Détermine si le chargeur d’images peut lire une nouvelle image à partir du flux spécifié et éventuellement en utilisant leloadOptions .

public bool CanLoad(StreamContainer streamContainer, LoadOptions loadOptions)
ParamètreTaperLa description
streamContainerStreamContainerLe conteneur de flux.
loadOptionsLoadOptionsLes détails du format de fichier spécifiés parloadOptions . LaloadOptions peut être nul.

Return_Value

vrai si le chargeur d’images créé par ce descripteur peut lire l’image à partir du flux ; Par ailleurs,faux .

Voir également