Aspose::Page::XPS::DocumentUtils::CreateImage méthode

DocumentUtils::CreateImage method

Crée un chemin rectangulaire rempli d’une image.

System::SharedPtr<XpsModel::XpsPath> Aspose::Page::XPS::DocumentUtils::CreateImage(System::String fileName, System::Drawing::RectangleF imageBox, ImageMode mode=Aspose::Page::XPS::ImageMode::FitToBox)
ParamètreTypeDescription
fileNameSystem::StringLe nom du fichier image.
imageBoxSystem::Drawing::RectangleFLa boîte d’image à remplir avec l’image.
modeImageModeMode d’ajustement d’image.

ReturnValue

Le chemin XPS.

Voir aussi