You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SVGZSaveOptions type exposes the following members:
23
+
24
+
### Constructors
25
+
| Constructor | Description |
26
+
| :- | :- |
27
+
|[__init__](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions/__init__/#)| Initializes a new instance of the [`SaveOptions`](/html/python-net/aspose.html.saving/saveoptions) class. |
28
+
29
+
30
+
### Properties
31
+
| Property | Description |
32
+
| :- | :- |
33
+
|[resource_handling_options](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions/resource_handling_options)| Gets a [`ResourceHandlingOptions`](/html/python-net/aspose.html.saving/resourcehandlingoptions) object which is used for configuration of resources handling. |
34
+
|[vectorize_text](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions/vectorize_text)| Gets or sets whether text elements are replaced with paths. |
35
+
36
+
37
+
38
+
### See Also
39
+
* module [`aspose.html.dom.svg.saving`](..)
40
+
* class [`ResourceHandlingOptions`](/html/python-net/aspose.html.saving/resourcehandlingoptions)
41
+
* class [`SVGZSaveOptions`](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions)
42
+
* class [`SaveOptions`](/html/python-net/aspose.html.saving/saveoptions)
Gets a [`ResourceHandlingOptions`](/html/python-net/aspose.html.saving/resourcehandlingoptions) object which is used for configuration of resources handling.
15
+
### Definition:
16
+
```python
17
+
@property
18
+
defresource_handling_options(self):
19
+
...
20
+
```
21
+
22
+
### See Also
23
+
* module [`aspose.html.dom.svg.saving`](../../)
24
+
* class [`ResourceHandlingOptions`](/html/python-net/aspose.html.saving/resourcehandlingoptions)
25
+
* class [`SVGZSaveOptions`](/html/python-net/aspose.html.dom.svg.saving/svgzsaveoptions)
Copy file name to clipboardExpand all lines: english/python-net/aspose.html.dom.svg/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ navigate or render the SVG file as per your requirements.
33
33
|[`SVGCursorElement`](/html/python-net/aspose.html.dom.svg/svgcursorelement)| The SVGCursorElement interface corresponds to the ‘cursor’ element. |
34
34
|[`SVGDefsElement`](/html/python-net/aspose.html.dom.svg/svgdefselement)| The SVGDefsElement interface corresponds to the ‘defs’ element. |
35
35
|[`SVGDescElement`](/html/python-net/aspose.html.dom.svg/svgdescelement)| The SVGDescElement interface corresponds to the ‘desc’ element. |
36
-
| [`SVGDocument`](/html/python-net/aspose.html.dom.svg/svgdocument) | An `SVGDocument` is the root of the SVG hierarchy and holds the entire content. Besides providing access to the hierarchy, it also provides some convenience methods for accessing certain sets of information from the document.<br/>When an ‘svg’ element is embedded inline as a component of a document from another namespace, such as when an ‘svg’ element is embedded inline within an XHTML document [XHTML], then an SVGDocument object will not exist; instead, the root object in the document object hierarchy will be a Document object of a different type, such as an HTMLDocument object.<br/>However, an SVGDocument object will indeed exist when the root element of the XML document hierarchy is an ‘svg’ element, such as when viewing a stand-alone SVG file(i.e., a file with MIME type "image/svg+xml"). In this case, the SVGDocument object will be the root object of the document object model hierarchy. |
36
+
| [`SVGDocument`](/html/python-net/aspose.html.dom.svg/svgdocument) | An `SVGDocument` is the root of the SVG hierarchy and holds the entire content. Besides providing access to the hierarchy, it also provides some convenience methods for accessing certain sets of information from the document.<br/>In addition to loading standard .svg files, both the constructors and the [`Document.navigate`](/html/python-net/aspose.html.dom/document/navigate) method can load gzip-compressed .svgz files.<br/>When an ‘svg’ element is embedded inline as a component of a document from another namespace, such as when an ‘svg’ element is embedded inline within an XHTML document [XHTML], then an SVGDocument object will not exist; instead, the root object in the document object hierarchy will be a Document object of a different type, such as an HTMLDocument object.<br/>However, an SVGDocument object will indeed exist when the root element of the XML document hierarchy is an ‘svg’ element, such as when viewing a stand-alone SVG file(i.e., a file with MIME type "image/svg+xml"). In this case, the SVGDocument object will be the root object of the document object model hierarchy. |
37
37
|[`SVGElement`](/html/python-net/aspose.html.dom.svg/svgelement)| All of the SVG DOM interfaces that correspond directly to elements in the SVG language (such as the SVGPathElement interface for the ‘path’ element) derive from the SVGElement interface. |
38
38
|[`SVGElementInstance`](/html/python-net/aspose.html.dom.svg/svgelementinstance)| The root object of each use-element shadow tree implements the SVGUseElementShadowRoot interface. This interface does not currently define any extensions to the properties and methods defined for the ShadowRoot interface and DocumentOrShadowRoot mixin. However, the tree rooted at this node is entirely read-only from the perspective of author scripts. |
39
39
|[`SVGEllipseElement`](/html/python-net/aspose.html.dom.svg/svgellipseelement)| The SVGEllipseElement interface corresponds to the ‘ellipse’ element. |
Copy file name to clipboardExpand all lines: english/python-net/aspose.html.dom.svg/svgdocument/_index.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ is_root: false
11
11
## SVGDocument class
12
12
13
13
An `SVGDocument` is the root of the SVG hierarchy and holds the entire content. Besides providing access to the hierarchy, it also provides some convenience methods for accessing certain sets of information from the document.
14
+
In addition to loading standard .svg files, both the constructors and the [`Document.navigate`](/html/python-net/aspose.html.dom/document/navigate) method can load gzip-compressed .svgz files.
14
15
When an ‘svg’ element is embedded inline as a component of a document from another namespace, such as when an ‘svg’ element is embedded inline within an XHTML document [XHTML], then an SVGDocument object will not exist; instead, the root object in the document object hierarchy will be a Document object of a different type, such as an HTMLDocument object.
15
16
However, an SVGDocument object will indeed exist when the root element of the XML document hierarchy is an ‘svg’ element, such as when viewing a stand-alone SVG file(i.e., a file with MIME type "image/svg+xml"). In this case, the SVGDocument object will be the root object of the document object model hierarchy.
16
17
@@ -130,15 +131,18 @@ The SVGDocument type exposes the following members:
130
131
| [create_tree_walker](/html/python-net/aspose.html.dom.svg/svgdocument/create_tree_walker/#aspose.html.dom.Node) | Create a new TreeWalker over the subtree rooted at the<br/>specified node. |
131
132
| [create_tree_walker](/html/python-net/aspose.html.dom.svg/svgdocument/create_tree_walker/#aspose.html.dom.Node-int) | Create a new TreeWalker over the subtree rooted at the<br/>specified node. |
132
133
| [create_tree_walker](/html/python-net/aspose.html.dom.svg/svgdocument/create_tree_walker/#aspose.html.dom.Node-int-aspose.html.dom.traversal.INodeFilter) | Create a new TreeWalker over the subtree rooted at the<br/>specified node. |
133
-
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url) | Saves the document to local file specified by `url`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
134
-
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str) | Saves the document to local file specified by `path`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
134
+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url) | Saves the document to local file specified by `url`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files".<br/>If the specified `url` ends with ".svgz", the document will be saved as a compressed SVGZ file. |
135
+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str) | Saves the document to local file specified by `path`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files".<br/>If the specified `url` ends with ".svgz", the document will be saved as a compressed SVGZ file. |
135
136
|[save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.saving.resourcehandlers.ResourceHandler)| Saves the document content and resources using the [`ResourceHandler`](/html/python-net/aspose.html.saving.resourcehandlers/resourcehandler). |
136
137
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str-aspose.html.dom.svg.saving.SVGSaveFormat) | Saves the document to local file specified by `path`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
137
138
|[save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.saving.resourcehandlers.ResourceHandler-aspose.html.dom.svg.saving.SVGSaveFormat)| Saves the document content and resources using the [`ResourceHandler`](/html/python-net/aspose.html.saving.resourcehandlers/resourcehandler). |
138
-
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str-aspose.html.dom.svg.saving.SVGSaveOptions) | Saves the document to local file specified by`path`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
139
+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str-aspose.html.dom.svg.saving.SVGSaveOptions) | Saves the document as an `.svg` file to the local path specified by<br/>`path`. <br/>Any external resources are written to a sibling folder named<br/>`{output_file_name}_files`. |
139
140
|[save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.saving.resourcehandlers.ResourceHandler-aspose.html.dom.svg.saving.SVGSaveOptions)| Saves the document content and resources using the [`ResourceHandler`](/html/python-net/aspose.html.saving.resourcehandlers/resourcehandler). |
140
141
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url-aspose.html.dom.svg.saving.SVGSaveFormat) | Saves the document to local file specified by `url`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
141
-
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url-aspose.html.dom.svg.saving.SVGSaveOptions) | Saves the document to local file specified by `url`. All resources used in this document will be saved in <br/>to adjacent folder, whose name will be constructed as: output_file_name + "_files". |
142
+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url-aspose.html.dom.svg.saving.SVGSaveOptions) | Saves the document as an `.svg` file to `url`.<br/>All external resources are placed in a sibling folder named<br/>`{output_file_name}_files`. |
143
+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.Url-aspose.html.dom.svg.saving.SVGZSaveOptions) | Saves the document as a compressed `.svgz` file to `url`.<br/>All external resources are placed in a sibling folder named<br/>`{output_file_name}_files`. |
144
+
|[save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#aspose.html.saving.resourcehandlers.ResourceHandler-aspose.html.dom.svg.saving.SVGZSaveOptions)| Saves the document content and associated resources using the specified [`ResourceHandler`](/html/python-net/aspose.html.saving.resourcehandlers/resourcehandler). |
145
+
| [save](/html/python-net/aspose.html.dom.svg/svgdocument/save/#str-aspose.html.dom.svg.saving.SVGZSaveOptions) | Saves the document as a compressed `.svgz` file to the local path specified by<br/>`path`.<br/>Any external resources are written to a sibling folder named<br/>`{output_file_name}_files`. |
142
146
|[get_platform_type](/html/python-net/aspose.html.dom.svg/svgdocument/get_platform_type/#)| This method is used to retrieve the ECMAScript object Type. |
143
147
| [dispatch_event](/html/python-net/aspose.html.dom.svg/svgdocument/dispatch_event/#aspose.html.dom.events.Event) | Dispatches an Event at the specified [`IEventTarget`](/html/python-net/aspose.html.dom.events/ieventtarget), (synchronously) invoking<br/>the affected EventListeners in the appropriate order. <br/>The normal event processing rules (including the capturing and optional bubbling phase) also apply to events <br/>dispatched manually with [`IEventTarget.dispatch_event`](/html/python-net/aspose.html.dom.events/ieventtarget/dispatch_event). |
144
148
|[has_child_nodes](/html/python-net/aspose.html.dom.svg/svgdocument/has_child_nodes/#)| Returns a boolean value indicating whether the given [`Node`](/html/python-net/aspose.html.dom/node) has child nodes or not. |
0 commit comments