C# Class CloudinaryDotNet.ResponsiveBreakpoint

Allows to generate images for your responsive website in various width dimensions, and to define the minimum file size step (performance budget)
Inheritance: Newtonsoft.Json.Linq.JObject
Afficher le fichier Open project: cloudinary/CloudinaryDotNet

Méthodes publiques

Méthode Description
BytesStep ( int bytesStep ) : ResponsiveBreakpoint

Set minimal file size step to generate images

BytesStep ( ) : int

Get minimal file size step

CreateDerived ( bool createDerived ) : ResponsiveBreakpoint

Set create_derived flag. If create_derived flag is enabled, the derived images don't need to be regenerated when first accessed by your users

IsCreateDerived ( ) : bool

Get value of the create_derived flag

MaxImages ( int maxImages ) : ResponsiveBreakpoint

Set maximum number of images to generate

MaxImages ( ) : int

Get maximal number of images to generate

MaxWidth ( int maxWidth ) : ResponsiveBreakpoint

Set maximal boundary of Width

MaxWidth ( ) : int

Get maximal width in pixels

MinWidth ( int minWidth ) : ResponsiveBreakpoint

Set minimal boundary of Width

MinWidth ( ) : int

Get minimal Width in pixels

ResponsiveBreakpoint ( ) : Newtonsoft.Json.Linq
Transformation ( Transformation transformation ) : ResponsiveBreakpoint

Set transformation to apply on the original image

Method Details

BytesStep() public méthode

Set minimal file size step to generate images
public BytesStep ( int bytesStep ) : ResponsiveBreakpoint
bytesStep int File size step in bytes
Résultat ResponsiveBreakpoint

BytesStep() public méthode

Get minimal file size step
public BytesStep ( ) : int
Résultat int

CreateDerived() public méthode

Set create_derived flag. If create_derived flag is enabled, the derived images don't need to be regenerated when first accessed by your users
public CreateDerived ( bool createDerived ) : ResponsiveBreakpoint
createDerived bool
Résultat ResponsiveBreakpoint

IsCreateDerived() public méthode

Get value of the create_derived flag
public IsCreateDerived ( ) : bool
Résultat bool

MaxImages() public méthode

Set maximum number of images to generate
public MaxImages ( int maxImages ) : ResponsiveBreakpoint
maxImages int
Résultat ResponsiveBreakpoint

MaxImages() public méthode

Get maximal number of images to generate
public MaxImages ( ) : int
Résultat int

MaxWidth() public méthode

Set maximal boundary of Width
public MaxWidth ( int maxWidth ) : ResponsiveBreakpoint
maxWidth int Maximal width in pixels
Résultat ResponsiveBreakpoint

MaxWidth() public méthode

Get maximal width in pixels
public MaxWidth ( ) : int
Résultat int

MinWidth() public méthode

Set minimal boundary of Width
public MinWidth ( int minWidth ) : ResponsiveBreakpoint
minWidth int Minimal width in pixels
Résultat ResponsiveBreakpoint

MinWidth() public méthode

Get minimal Width in pixels
public MinWidth ( ) : int
Résultat int

ResponsiveBreakpoint() public méthode

public ResponsiveBreakpoint ( ) : Newtonsoft.Json.Linq
Résultat Newtonsoft.Json.Linq

Transformation() public méthode

Set transformation to apply on the original image
public Transformation ( Transformation transformation ) : ResponsiveBreakpoint
transformation Transformation
Résultat ResponsiveBreakpoint