slice method
slice
Returns a new Blob object with bytes ranging from the optional start parameter up to but not including the optional end parameter, and with a type attribute that is the value of the optional contentType parameter.
Returns
Returns a new Blob object with bytes ranging from the optional start parameter up to but not including the optional end parameter, and with a type attribute that is the value of the optional contentType parameter.
def slice(self, start, end, content_type):
...
Parameter | Type | Description |
---|---|---|
start | int | The parameter is a value for the start point of a slice |
end | int | The parameter is a value for the start point of a slice |
content_type | str | The parameter is a media type of the Blob |
See Also
- module
aspose.html.io
- class
IBlob