Skip to content

Commit 89319d7

Browse files
Merge pull request #110 from Syncfusion-Content/development
DOCINFRA-2341_merged_using_automation
2 parents 23c4962 + eea017d commit 89319d7

19 files changed

+570
-77
lines changed

xamarin-android-toc.html

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.

xamarin-android/Introduction/System-Requirements.md

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
layout: post
33
title: System Requirements | Xamarin.Android | Syncfusion
4-
description: System Requirements
4+
description: Describes about system requirements to install the Syncfusion Xamarin Android Components and list of supported platforms.
55
platform: Xamarin.Android
66
control: Introduction
77
documentation: ug
88
---
99

10-
# System Requirements
10+
# System Requirements for Xamarin.Android
1111

1212
### Hardware Environment
1313

@@ -45,18 +45,18 @@ The following table lists the platforms supported by our Xamarin.Android control
4545
</th>
4646
</tr>
4747
<tr>
48-
<td rowspan="2">
48+
<td>
4949
Android
5050
<br/>
5151
<br/>
5252
</td>
53-
<td rowspan="2">
53+
<td>
5454
Phone, Tablet
5555
<br/>
5656
<br/>
5757
</td>
5858
<td>
59-
SfPdfViewer, SfCheckBox
59+
All controls
6060
<br/>
6161
<br/>
6262
</td>
@@ -66,18 +66,6 @@ The following table lists the platforms supported by our Xamarin.Android control
6666
<br/>
6767
</td>
6868
</tr>
69-
<tr>
70-
<td>
71-
All other controls
72-
<br/>
73-
<br/>
74-
</td>
75-
<td>
76-
API level 19 and later versions
77-
<br/>
78-
<br/>
79-
</td>
80-
</tr>
8169
</table>
8270

8371
### Target Framework (Compile SDK Version) for Android

xamarin-android/Licensing/licensing-faq/how-to-upgrade-from-trial-version-after-purchasing-a-license.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ documentation: ug
99

1010
# How to upgrade from Trial version after purchasing a license?
1111

12-
To upgrade from trial version, there are two possible solutions.
12+
To upgrade from trial version,
1313

14-
* Uninstall the trial version and install the fully licensed build from the [License & Downloads](https://www.syncfusion.com/account/downloads) section of our website.
1514
* If you are using Syncfusion controls from [nuget.org](https://www.nuget.org/packages?q=syncfusion), replace the currently used trial license key with a paid license key that can be generated from the [License & Downloads](https://www.syncfusion.com/account/downloads) section of our website. Refer to [this](https://help.syncfusion.com/xamarin-android/licensing/registering-license-keys) topic for more information regarding registering the license in the application.
1615

17-
N> License registration is not required if you reference Syncfusion assemblies from Licensed installer. These licensing changes applicable to all evaluators who refers the Syncfusion assemblies from evaluation installer and those who use Syncfusion NuGet packages from [nuget.org](https://www.nuget.org/).
16+
N> Starting with 2022 Volume 1 v20.1.0.47, all Syncfusion customers (evaluators and paid customers) who use Syncfusion installers or nuget packages from [nuget.org](https://www.nuget.org/packages?q=Syncfusion) must generate and register the corresponding platform and version license key in your projects.<br>
17+
For more information, please see [this](https://help.syncfusion.com/xamarin-android/licensing/licensing) help topic.

xamarin-android/Licensing/licensing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ margin-top: 1.5em; margin-bottom: 1.5em;
1919

2020
# Syncfusion Licensing in Xamarin
2121

22-
We have introduced a new licensing system starting with version 16.2.0.x release of Essential Studio. These modifications apply to all evaluators and only to paid customers who use NuGet packages from [nuget.org](https://www.nuget.org/). Starting with v16.2.0.x, if you use the evaluation installer or the NuGet feed to reference Syncfusion assemblies, you must also include the corresponding platform and version license key in your projects.
22+
Starting with 2022 Volume 1 v20.1.0.47, all Syncfusion customers (evaluators and paid customers) who use Syncfusion installers or nuget packages from [nuget.org](https://www.nuget.org/packages?q=Syncfusion) must generate and register the corresponding platform and version license key in your projects.
2323

2424
### Difference between unlock key and license key
2525

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Essential Studio for Xamarin.Android 2022 volume 1 Main release Release Notes
3+
description: Essential Studio for Xamarin.Android 2022 volume 1 Main release Release Notes
4+
platform: Xamarin.Android
5+
documentation: ug
6+
---
7+
8+
# Essential Studio for Xamarin.Android Release Notes
9+
10+
{% include release-info.html date="April 4, 2022" version="v20.1.0.47" %}
11+
12+
<style>
13+
#license {
14+
font-size: .88em!important;
15+
margin-top: 1.5em; margin-bottom: 1.5em;
16+
background-color: #def8ff;
17+
padding: 10px 17px 14px;
18+
}
19+
</style>
20+
21+
22+
<div id="license">
23+
Starting with 2022 Volume 1 v20.1.0.47, all Syncfusion customers (evaluators and paid customers) who use Syncfusion installers or nuget packages from <a href="https://www.nuget.org/packages?q=Syncfusion">nuget.org</a> must generate and register the corresponding platform and version license key in your projects.
24+
For more information, please see this <a href="https://help.syncfusion.com/common/essential-studio/licensing/license-key">help topic</a>
25+
</div>
26+
27+
28+
{% directory path: _includes/release-notes/v20.1.0.47 %}
29+
30+
{% include {{file.url}} %}
31+
32+
{% enddirectory %}

xamarin-android/SfPdfViewer/FreeText-Annotation.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,56 @@ private void PdfViewer_FreeTextAnnotationRemoved(object sender, FreeTextAnnotati
371371
{% endhighlight %}
372372
{% endtabs %}
373373

374+
## How to lock or unlock the free text annotations?
375+
376+
To lock or unlock all the free text annotation, set the `IsLocked` API to `true` or `false` respectively, and the following sample explains the same. But other annotation types can be moved, resized, removed or their attributes can be changed.
377+
378+
{% tabs %}
379+
{% highlight c# %}
380+
381+
//Disable the free text annotation interaction such as move, resize, remove, and attributes changes.
382+
pdfViewerControl.AnnotationSettings.FreeText.IsLocked = true;
383+
384+
{% endhighlight %}
385+
{% endtabs %}
386+
387+
Interactions with free text annotation types such as move, resize, remove or attribute changes will be allowed only if the `SfPdfViewer.AnnotationSettings.IsLocked` API is set to `false`. The following code prevents the unlocking of the free text annotations, although the `IsLocked` property of the free text annotation is set to `false`.
388+
389+
{% tabs %}
390+
{% highlight c# %}
391+
392+
//Disable the free text annotation interaction, though its 'IsLocked' property is set to ‘false’ .
393+
pdfViewerControl.AnnotationSettings.IsLocked = true;
394+
pdfViewerControl.AnnotationSettings.FreeText.IsLocked = false;
395+
396+
{% endhighlight %}
397+
{% endtabs %}
398+
399+
## How to enable or disable the free text annotation selection?
400+
401+
To enable or disable the free text annotation selection, set the `Constraints` API to `AnnotationConstraints.Selectable` or `~AnnotationConstraints.Selectable` respectively, and the following sample explains the same. But other annotation types can be selected, moved, resized, removed or their attributes can be changed.
402+
403+
{% tabs %}
404+
{% highlight c# %}
405+
406+
//Disable the selection of free text annotations.
407+
pdfViewerControl.AnnotationSettings.FreeText.Constraints = ~AnnotationConstraints.Selectable;
408+
409+
{% endhighlight %}
410+
{% endtabs %}
411+
412+
Free text annotation selection will be allowed only if the `SfPdfViewer.AnnotationSettings.Constraints` API is set to `AnnotationConstraints.Selectable`. The following code prevents the free text annotations selection, even though the `Constraints` property of the free text annotation is set to `AnnotationConstraints.Selectable`.
413+
414+
{% tabs %}
415+
{% highlight c# %}
416+
417+
//Disable the free text annotation selection, though its 'Constraints' property is set to ‘AnnotationConstraints.Selectable’
418+
pdfViewerControl.AnnotationSettings.Constraints= ~AnnotationConstraints.Selectable;
419+
pdfViewerControl.AnnotationSettings.FreeText.Constraints = AnnotationConstraints.Selectable;
420+
421+
{% endhighlight %}
422+
{% endtabs %}
423+
374424
## How to get and set the name of the free text annotations?
375425

376426
The PDF Viewer allows the users to get and set the name of free text annotations through the [Name](https://help.syncfusion.com/cr/xamarin-android/Syncfusion.SfPdfViewer.Android.IAnnotation.html#Syncfusion_SfPdfViewer_Android_IAnnotation_Name) API.

xamarin-android/SfPdfViewer/Getting-Started.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,36 @@ private void PageDownButton_Click(object sender, System.EventArgs e)
401401

402402
N>When the current page is the first page, GoToPreviousPage method will not have any effect. Similarly, when in last page, GoToNextPage method will not have any effect.
403403

404+
## How to lock or unlock all the annotations?
405+
406+
To lock or unlock all the annotations in a PDF, set the `SfPdfViewer.AnnotationSettings.IsLocked` API to `true` or `false` respectively. The default value of the API is false, and when it is set to true, annotations can be selected, but resizing, moving, editing, and removing actions will be disabled. Only the tapped and selected events from the annotations will be raised. The following code sample explains the same.
407+
408+
{% tabs %}
409+
{% highlight c# %}
410+
411+
//Lock all the annotations
412+
pdfViewerControl.AnnotationSettings.IsLocked = true;
413+
414+
{% endhighlight %}
415+
{% endtabs %}
416+
417+
N>The lock operation can also be enabled or disabled for a particular annotation type such as shape, free text, text markup, etc. Please find the code samples to enable or disable interaction for particular annotation from their respective sections.
418+
419+
## How to enable or disable the annotation selection?
420+
421+
To enable or disable the annotation selection, set the `SfPdfViewer.AnnotationSettings.Constraints` API to `AnnotationConstraints.Selectable` or `~AnnotationConstraints.Selectable` respectively. Annotations will be selected by default, and when this API is set to `~AnnotationConstraints.Selectable`, annotation selection, moving, resizing, removing and attribute changes will be disabled. Only the tapped events of the annotations will be raised. The following code sample explains the same.
422+
423+
{% tabs %}
424+
{% highlight c# %}
425+
426+
//Disable the selection of all annotation types.
427+
pdfViewerControl.AnnotationSettings.Constraints = ~AnnotationConstraints.Selectable;
428+
429+
{% endhighlight %}
430+
{% endtabs %}
431+
432+
N>The selection operation can also be enabled or disabled for a particular annotation type such as shape, free text, text markup, etc. Please find the code samples to enable or disable interaction for particular annotation from their respective sections.
433+
404434
## How to get the list of annotations present in the PDF?
405435

406436
By using `Annotations` property, You can get the list of annotations present in the PDF document.

xamarin-android/SfPdfViewer/Handwritten-Signature.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,56 @@ private void PdfViewer_InkSelected(object sender, Syncfusion.SfPdfViewer.Android
192192
{% endhighlight %}
193193
{% endtabs %}
194194

195+
## How to lock or unlock the handwritten signature?
196+
197+
To lock or unlock all the handwritten signature, set the `IsLocked` API to `true` or `false` respectively, and the following sample explains the same. But other annotation types can be moved, resized, removed or their attributes can be changed.
198+
199+
{% tabs %}
200+
{% highlight c# %}
201+
202+
//Disable the handwritten signature interaction such as move, resize, remove, and attributes changes.
203+
pdfViewerControl.AnnotationSettings.HandwrittenSignature.IsLocked = true;
204+
205+
{% endhighlight %}
206+
{% endtabs %}
207+
208+
Interactions with handwritten signature types such as move, resize, remove or attribute changes will be allowed only if the `SfPdfViewer.AnnotationSettings.IsLocked` API is set to `false`. The following code prevents the unlocking of the handwritten signatures, although the `IsLocked` property of the handwritten signature is set to `false`.
209+
210+
{% tabs %}
211+
{% highlight c# %}
212+
213+
//Disable the handwritten signature interaction, though its 'IsLocked' property is set to ‘false’ .
214+
pdfViewerControl.AnnotationSettings.IsLocked = true;
215+
pdfViewerControl.AnnotationSettings.HandwrittenSignature.IsLocked = false;
216+
217+
{% endhighlight %}
218+
{% endtabs %}
219+
220+
## How to enable or disable the handwritten signature selection?
221+
222+
To enable or disable the handwritten signature selection, set the `Constraints` API to `AnnotationConstraints.Selectable` or `~AnnotationConstraints.Selectable` respectively, and the following sample explains the same. But other annotation types can be selected, moved, resized, removed or their attributes can be changed.
223+
224+
{% tabs %}
225+
{% highlight c# %}
226+
227+
//Disable the selection of handwritten signatures.
228+
pdfViewerControl.AnnotationSettings.HandwrittenSignature.Constraints = ~AnnotationConstraints.Selectable;
229+
230+
{% endhighlight %}
231+
{% endtabs %}
232+
233+
Handwritten signature selection will be allowed only if the `SfPdfViewer.AnnotationSettings.Constraints` API is set to `AnnotationConstraints.Selectable`. The following code prevents the handwritten signatures selection, even though the `Constraints` property of the handwritten signature annotation is set to `AnnotationConstraints.Selectable`.
234+
235+
{% tabs %}
236+
{% highlight c# %}
237+
238+
//Disable the handwritten signature selection, though its 'Constraints' property is set to ‘AnnotationConstraints.Selectable’
239+
pdfViewerControl.AnnotationSettings.Constraints= ~AnnotationConstraints.Selectable;
240+
pdfViewerControl.AnnotationSettings.HandwrittenSignature.Constraints = AnnotationConstraints.Selectable;
241+
242+
{% endhighlight %}
243+
{% endtabs %}
244+
195245
## How to get and set the name of the handwritten signatures?
196246

197247
The PDF Viewer allows the users to get and set the name of handwritten signatures through the [Name](https://help.syncfusion.com/cr/xamarin-android/Syncfusion.SfPdfViewer.Android.IAnnotation.html#Syncfusion_SfPdfViewer_Android_IAnnotation_Name) API.

xamarin-android/SfPdfViewer/Ink.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,56 @@ private void PdfViewer_AnnotationMovedOrResized(object sender, AnnotationMovedOr
524524
{% endhighlight %}
525525
{% endtabs %}
526526

527+
## How to lock or unlock the ink annotations?
528+
529+
To lock or unlock all the ink annotation, set the `IsLocked` API to `true` or `false` respectively, and the following sample explains the same. But other annotation types can be moved, resized, removed or their attributes can be changed.
530+
531+
{% tabs %}
532+
{% highlight c# %}
533+
534+
//Disable the ink annotation interaction such as move, resize, remove, and attributes changes.
535+
pdfViewerControl.AnnotationSettings.Ink.IsLocked = true;
536+
537+
{% endhighlight %}
538+
{% endtabs %}
539+
540+
Interactions with ink annotation types such as move, resize, remove or attribute changes will be allowed only if the `SfPdfViewer.AnnotationSettings.IsLocked` API is set to `false`. The following code prevents the unlocking of the ink annotations, although the `IsLocked` property of the ink annotation is set to `false`.
541+
542+
{% tabs %}
543+
{% highlight c# %}
544+
545+
//Disable the ink annotation interaction, though its 'IsLocked' property is set to ‘false’ .
546+
pdfViewerControl.AnnotationSettings.IsLocked = true;
547+
pdfViewerControl.AnnotationSettings.Ink.IsLocked = false;
548+
549+
{% endhighlight %}
550+
{% endtabs %}
551+
552+
## How to enable or disable the ink annotation selection?
553+
554+
To enable or disable the ink annotation selection, set the `Constraints` API to `AnnotationConstraints.Selectable` or `~AnnotationConstraints.Selectable` respectively, and the following sample explains the same. But other annotation types can be selected, moved, resized, removed or their attributes can be changed.
555+
556+
{% tabs %}
557+
{% highlight c# %}
558+
559+
//Disable the selection of ink annotations.
560+
pdfViewerControl.AnnotationSettings.Ink.Constraints = ~AnnotationConstraints.Selectable;
561+
562+
{% endhighlight %}
563+
{% endtabs %}
564+
565+
Ink annotation selection will be allowed only if the `SfPdfViewer.AnnotationSettings.Constraints` API is set to `AnnotationConstraints.Selectable`. The following code prevents the ink annotations selection, even though the `Constraints` property of the ink annotation is set to `AnnotationConstraints.Selectable`.
566+
567+
{% tabs %}
568+
{% highlight c# %}
569+
570+
//Disable the ink annotation selection, though its 'Constraints' property is set to ‘AnnotationConstraints.Selectable’
571+
pdfViewerControl.AnnotationSettings.Constraints= ~AnnotationConstraints.Selectable;
572+
pdfViewerControl.AnnotationSettings.Ink.Constraints = AnnotationConstraints.Selectable;
573+
574+
{% endhighlight %}
575+
{% endtabs %}
576+
527577
## How to render Ink strokes using custom ink points?
528578

529579
By default, ink strokes are drawn by recording the points on the screen traversed by the input device (stylus or finger). The quality of the strokes thus drawn may not be satisfactory as it considers only raw points. If needed, the points can be modified using any algorithms to smoothen the strokes.

0 commit comments

Comments
 (0)