Skip to content

Commit ec2b26a

Browse files
chore(barcode): improve wording
1 parent 4be736a commit ec2b26a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

controls/barcode/qrcode.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,23 @@ You can specify the following properties:
2727

2828
* **ECI** - (Extended Channel Interpretations Encoding) property allows for additional data to be applied to the FNC1 data. Please, keep in mind, that this is only applicable with FNC1Mode.FNC1SecondPosition. Additionally, the acceptable data for this property is in the range {a-z}],{[A-Z} and {00-99}. Do not change the encoding if you plan to decode your barcodes on smartphones. Some readers are working with the default encoding only.
2929

30-
* **Version** - This is an integer value, in the range from 1 to 40, representing the version which one desires to use. Usually, higher-version QR codes are used do accommodate larger amounts of data.
30+
* **Version** - This is an integer value, in the range from 1 to 40, representing the version which one desires to use. Usually, higher-version QR codes are used do accommodate larger amounts of data. The default value is 7.
3131

32-
* **AutoIncreaseVersion** - Set to true to increase the Version automatically in order to encode longer text, if you are not sure what version to set.
33-
By default is set to true.
32+
* **AutoIncreaseVersion** - Set to true to increase the Version automatically in order to encode longer text, if you are not sure what version to set. By default is set to true.
3433

3534
* **DotSize** - Use this to specify size of the barcode dots in pixels.
3635

3736
## How to Control the Size of the QR Code
3837

3938
The size of the QR code is determined by the `QRCodeSettings.DotSize` and `QRCodeSettings.Version` properties.
4039

41-
The size determined through the `QRCodeSettings` will take precedence over the values set to the `Width` and `Height` properties of the main control tag.
40+
The size coming from the `QRCodeSettings` will take precedence over the values set to the `Width` and `Height` properties of the main control tag.
4241

43-
Each integer increase increases the total size of the rendered image with a factor determined by the `Version` value. For example, with `Version="5"`, the factor is `45px`. Note that the function is not linear. If you want to determine exact sizes, the easiest way to see the exact size is to inspect the rendered PNG with the browser dev toolbar.
42+
Each integer increases the total size of the rendered image with a factor determined by the `Version` value. For example, with `Version="5"`, the factor is `45px`. Note that the function is not linear. If you want to determine exact sizes, the easiest way to see the exact size is to inspect the rendered PNG with the browser dev toolbar after running a given set of options.
4443

4544
For example, at `Version="5"`, `DotSize="1"` will result in a `45px` square, and a `DotSize="5"` will result in a `225px` square.
4645

47-
48-
If you set `DotSize="0"` the image will be rendered as if `DotSize="1"` (that is, a `45px` square at `Version="5"`), and the `<img>` element will get `height: 100%; width: 100%` CSS rules, so that it can stretch according to the `Width` and `Height` properties.
46+
If you set `DotSize="0"` the image will be rendered as if `DotSize="1"` (that is, a `45px` square at `Version="5"`), and the `<img>` element will get `height: 100%; width: 100%` CSS rules, so that it can stretch according to the `Width` and `Height` properties of the main tag.
4947

5048
When the image stretches because of `DotSize="0"`, it may get blurry. To always get a clear image, you can render it as a vector image, instead of the default raster image, by setting `OutputType="SVG_VML"`.
5149

0 commit comments

Comments
 (0)