PictureFillFormat

Vue d’ensemble

‘PictureFillFormat’ est une classe dans Aspose.Slides FOSS pour C++.

Représente un remplissage d’image dans un format de remplissage.

Cette classe fournit 54 méthodes pour travailler avec des objets PictureFillFormat dans les programmes C++. Les méthodologies disponibles comprennent: ‘PPImage’, ‘Picture’, PichtureMode', ‘RectangleAlignment’, 'TileFlip', ’crop_bottom, ‘croop_left , 'Crop-right et 40 méthodies supplémentaires. Tous les membres publics sont accessibles à toute application C ++ après l’installation de l’Aspoe.Slides FOSS pour le package C+. Propriétés : ’ PPImages ; 'L'PICTURE; ‘Ranglet’ ; “Ringlet” ; «Riglet» ;

Propriétés

NameTypeAccessDescription
PictureFillModePictureFillModeReadGets the picture fill mode.
PicturePictureReadGets the picture.
RectangleAlignmentRectangleAlignmentReadGets the rectangle alignment.
TileFlipTileFlipReadGets the tile flip.
PPImagePPImageReadGets the pp image.

méthodes

SignatureDescription
PictureFillMode() → PictureFillModeProperty gets or sets the picture fill mode
Picture() → PictureProperty gets or sets the Picture object
Picture() → Picture
RectangleAlignment() → RectangleAlignmentReturns the alignment of the picture within its rectangle
TileFlip() → TileFlipReturns the tile flip setting for the picture fill
PPImage() → PPImageReturns the underlying PPImage representation
init_internal(blip_fill_element: pugi::xml_node, save_callback: std::function<void()>)Initialize XML-backed picture fill format.
get_blip() → pugi::xml_nodeGet the child element.
get_or_create_src_rect() → pugi::xml_nodeGet or create the element for crop values.
get_stretch() → pugi::xml_nodeGet the child element.
get_or_create_fill_rect() → pugi::xml_nodeGet or create the element under .
get_crop_value(attr: std::string_view) → floatGet a crop value from .
set_crop_value(attr: std::string_view, value: float)Set a crop value on .
get_stretch_offset(attr: std::string_view) → floatGet a stretch offset value from under .
set_stretch_offset(attr: std::string_view, value: float)Set a stretch offset value on under .
get_tile() → pugi::xml_nodeGet the element, or empty node if absent.
ensure_tile() → pugi::xml_nodeGet or create the element, removing if present.
save()Save changes via the save callback.
dpi() → intReturns or sets the dpi used to fill a picture.
set_dpi(value: int)
picture_fill_mode() → PictureFillModeReturns the picture fill mode.
set_picture_fill_mode(value: PictureFillMode)
picture() → PictureReturns the picture associated with the fill.
picture() → PictureReturns the picture associated with the fill.
crop_left() → floatReturns or sets the number of percents of real image width cropped off the left.
set_crop_left(value: float)
crop_top() → floatReturns or sets the number of percents of real image height cropped off the top.
set_crop_top(value: float)
crop_right() → floatReturns or sets the number of percents of real image width cropped off the right.
set_crop_right(value: float)
crop_bottom() → floatReturns or sets the number of percents of real image height cropped off the bottom.
set_crop_bottom(value: float)
stretch_offset_left() → floatReturns or sets the left edge stretch offset as a percentage.
set_stretch_offset_left(value: float)
stretch_offset_top() → floatReturns or sets the top edge stretch offset as a percentage.
set_stretch_offset_top(value: float)
stretch_offset_right() → floatReturns or sets the right edge stretch offset as a percentage.
set_stretch_offset_right(value: float)
stretch_offset_bottom() → floatReturns or sets the bottom edge stretch offset as a percentage.
set_stretch_offset_bottom(value: float)
tile_offset_x() → floatReturns or sets the horizontal offset of the texture in points.
set_tile_offset_x(value: float)
tile_offset_y() → floatReturns or sets the vertical offset of the texture in points.
set_tile_offset_y(value: float)
tile_scale_x() → floatReturns or sets the horizontal scale for the texture fill as a percentage.
set_tile_scale_x(value: float)
tile_scale_y() → floatReturns or sets the vertical scale for the texture fill as a percentage.
set_tile_scale_y(value: float)
tile_alignment() → RectangleAlignmentReturns or sets the texture tile alignment.
set_tile_alignment(value: RectangleAlignment)
tile_flip() → TileFlipReturns or sets the texture tile flip mode.
set_tile_flip(value: TileFlip)
image() → PPImageReturns the image used for the picture fill.
set_image(img: PPImage)

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français