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
"""Gets the text_encoding of this AztecParams. # noqa: E501
152
182
153
-
Sets the encoding of codetext. # noqa: E501
183
+
DEPRECATED: This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext. # noqa: E501
154
184
155
185
:return: The text_encoding of this AztecParams. # noqa: E501
156
186
:rtype: str
@@ -161,14 +191,110 @@ def text_encoding(self):
161
191
deftext_encoding(self, text_encoding):
162
192
"""Sets the text_encoding of this AztecParams.
163
193
164
-
Sets the encoding of codetext. # noqa: E501
194
+
DEPRECATED: This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext. # noqa: E501
165
195
166
196
:param text_encoding: The text_encoding of this AztecParams. # noqa: E501
167
197
:type: str
168
198
"""
199
+
warnings.warn(
200
+
"Property 'text_encoding' is deprecated. This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext.", # noqa: E501
201
+
category=DeprecationWarning,
202
+
)
169
203
170
204
self._text_encoding=text_encoding
171
205
206
+
@property
207
+
defencode_mode(self):
208
+
"""Gets the encode_mode of this AztecParams. # noqa: E501
209
+
210
+
Encoding mode for Aztec barcodes. Default value: Auto # noqa: E501
211
+
212
+
:return: The encode_mode of this AztecParams. # noqa: E501
213
+
:rtype: AztecEncodeMode
214
+
"""
215
+
returnself._encode_mode
216
+
217
+
@encode_mode.setter
218
+
defencode_mode(self, encode_mode):
219
+
"""Sets the encode_mode of this AztecParams.
220
+
221
+
Encoding mode for Aztec barcodes. Default value: Auto # noqa: E501
222
+
223
+
:param encode_mode: The encode_mode of this AztecParams. # noqa: E501
224
+
:type: AztecEncodeMode
225
+
"""
226
+
227
+
self._encode_mode=encode_mode
228
+
229
+
@property
230
+
defeci_encoding(self):
231
+
"""Gets the eci_encoding of this AztecParams. # noqa: E501
232
+
233
+
Identifies ECI encoding. Used when AztecEncodeMode is Auto. Default value: ISO-8859-1. # noqa: E501
234
+
235
+
:return: The eci_encoding of this AztecParams. # noqa: E501
236
+
:rtype: ECIEncodings
237
+
"""
238
+
returnself._eci_encoding
239
+
240
+
@eci_encoding.setter
241
+
defeci_encoding(self, eci_encoding):
242
+
"""Sets the eci_encoding of this AztecParams.
243
+
244
+
Identifies ECI encoding. Used when AztecEncodeMode is Auto. Default value: ISO-8859-1. # noqa: E501
245
+
246
+
:param eci_encoding: The eci_encoding of this AztecParams. # noqa: E501
247
+
:type: ECIEncodings
248
+
"""
249
+
250
+
self._eci_encoding=eci_encoding
251
+
252
+
@property
253
+
defis_reader_initialization(self):
254
+
"""Gets the is_reader_initialization of this AztecParams. # noqa: E501
255
+
256
+
Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization. # noqa: E501
257
+
258
+
:return: The is_reader_initialization of this AztecParams. # noqa: E501
"""Gets the layers_count of this AztecParams. # noqa: E501
278
+
279
+
Gets or sets layers count of Aztec symbol. Layers count should be in range from 1 to 3 for Compact mode and in range from 1 to 32 for Full Range mode. Default value: 0 (auto). # noqa: E501
280
+
281
+
:return: The layers_count of this AztecParams. # noqa: E501
282
+
:rtype: int
283
+
"""
284
+
returnself._layers_count
285
+
286
+
@layers_count.setter
287
+
deflayers_count(self, layers_count):
288
+
"""Sets the layers_count of this AztecParams.
289
+
290
+
Gets or sets layers count of Aztec symbol. Layers count should be in range from 1 to 3 for Compact mode and in range from 1 to 32 for Full Range mode. Default value: 0 (auto). # noqa: E501
291
+
292
+
:param layers_count: The layers_count of this AztecParams. # noqa: E501
"""Gets the text_encoding of this DataMatrixParams. # noqa: E501
136
136
137
-
Encoding of codetext. # noqa: E501
137
+
DEPRECATED: This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext. # noqa: E501
138
138
139
139
:return: The text_encoding of this DataMatrixParams. # noqa: E501
140
140
:rtype: str
@@ -145,11 +145,15 @@ def text_encoding(self):
145
145
deftext_encoding(self, text_encoding):
146
146
"""Sets the text_encoding of this DataMatrixParams.
147
147
148
-
Encoding of codetext. # noqa: E501
148
+
DEPRECATED: This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext. # noqa: E501
149
149
150
150
:param text_encoding: The text_encoding of this DataMatrixParams. # noqa: E501
151
151
:type: str
152
152
"""
153
+
warnings.warn(
154
+
"Property 'text_encoding' is deprecated. This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext.", # noqa: E501
0 commit comments