open pdf form itextsharp c# : Online pdf editor to delete text Library application component asp.net html winforms mvc primefaces_user_guide_5_225-part1565

PrimeFaces User Guide
Controlling Timeout
By default, idleMonitor waits for 5 minutes (300000 ms) until triggering the onidle event. You can
customize this duration with the timeout attribute.
Ajax Behavior Events
IdleMonitor provides two ajax behavior events which are idle and active that are fired according to
user status changes. Example below displays messages for each event;
<p:idleMonitor timeout="5000" update="messages">
<p:ajax event="idle" listener="#{bean.idleListener}" update="msg" />
<p:ajax event="active" listener="#{bean.activeListener}" update="msg" />
</p:idleMonitor>
<p:growl id=”msg” />
public class Bean {
public void idleListener() {
//Add facesmessage
}
public void idle() {
//Add facesmessage
}
}
Client Side API
Widget: PrimeFaces.widget.IdleMonitor
Method
Params
Return Type
Description
pause()
-
void
Pauses the monitor.
resume()
-
void
Resumes monitoring
reset()
-
void
Resets the timer of monitor.
251
Online pdf editor to delete text - delete, remove text from PDF file in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Allow C# developers to use mature APIs to delete and remove text content from PDF document
delete text pdf; how to delete text from pdf document
Online pdf editor to delete text - VB.NET PDF delete text library: delete, remove text from PDF file in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET Programming Guide to Delete Text from PDF File
how to delete text from a pdf document; erase pdf text
PrimeFaces User Guide
3.55 ImageCompare
ImageCompare provides a user interface to compare two images.
Info
Tag
imageCompare
Component Class
org.primefaces.component.imagecompare.ImageCompare
Component Type
org.primefaces.component.ImageCompare
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.ImageCompareRenderer
Renderer Class
org.primefaces.component.imagecompare.ImageCompareRenderer
Attributes
Name
Default
Type
Description
id
null
String
Unique identifier of the component
rendered
true
Boolean
Boolean value to specify the rendering of the 
component, when set to false component will not
be rendered.
binding
null
Object
An el expression that maps to a server side 
UIComponent instance in a backing bean
widgetVar
null
String
Name of the client side widget.
252
C# HTML5 PDF Viewer SDK to view, annotate, create and convert PDF
are able to set a password to PDF online directly in RaterEdge HTML5 PDF Editor for C#.NET allows users to C#.NET user can redact PDF text, PDF images and PDF
how to delete text from a pdf; delete text pdf document
VB.NET PDF- HTML5 PDF Viewer for VB.NET Project
ONLINE DEMOS: Online HTML5 Document Viewer; Online XDoc.PDF C# Page: Insert PDF pages; C# Page: Delete PDF pages; C# PDF Viewer; VB.NET: ASP.NET PDF Editor; VB.NET
how to delete text in pdf document; delete text pdf file
PrimeFaces User Guide
Name
Default
Type
Description
leftImage
null
String
Source of the image placed on the left side
rightImage
null
String
Source of the image placed on the right side
width
null
String
Width of the images
height
null
String
Height of the images
style
null
String
Inline style of the container element
styleClass
null
String
Style class of the container element
Getting started with ImageCompare
ImageCompare is created with two images with same height and width. It is required to set width 
and height of the images as well.
<p:imageCompare leftImage="xbox.png" rightImage="ps3.png"
width="438" height="246"/>
Skinning
Both images are placed inside a div container element, style and styleClass attributes apply to this 
element.
253
C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
Advanced component and library able to delete PDF page in both Visual C# .NET WinForms and ASP.NET WebForms project. Free online C# class source code for
how to delete text in pdf converter professional; how to delete text in pdf acrobat
VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.
Online source codes for quick evaluation in VB.NET class. If you are looking for a solution to conveniently delete one page from your PDF document, you can use
delete text from pdf file; delete text pdf acrobat
PrimeFaces User Guide
3.56 ImageCropper
ImageCropper allows cropping a certain region of an image. A new image is created containing the
cropped area and assigned to a CroppedImage instanced on the server side.
Info
Tag
imageCropper
Component Class
org.primefaces.component. imagecropper.ImageCropper
Component Type
org.primefaces.component.ImageCropper
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.ImageCropperRenderer
Renderer Class
org.primefaces.component.imagecropper.ImageCropperRenderer
Attributes
Name
Default
Type
Description
id
null
String
Unique identifier of the component
rendered
true
Boolean
Boolean value to specify the rendering of the 
component, when set to false component will not be 
rendered.
binding
null
Object
An el expression that maps to a server side 
UIComponent instance in a backing bean
value
null
Object
Value of the component than can be either an EL 
expression of a literal text
converter
null
Converter
/String
An el expression or a literal text that defines a 
converter for the component. When it’s an EL 
expression, it’s resolved to a converter instance. In 
case it’s a static text, it must refer to a converter id
immediate
false
Boolean
When set true, process validations logic is executed 
at apply request values phase for this component.
required
false
Boolean
Marks component as required
254
C# HTML5 PDF Viewer SDK to create PDF document from other file
ONLINE DEMOS: Online HTML5 Document Viewer; Online XDoc.PDF C# Page: Insert PDF pages; C# Page: Delete PDF pages; C# PDF Viewer; VB.NET: ASP.NET PDF Editor; VB.NET
how to edit and delete text in pdf file; remove text from pdf preview
C# PDF insert text Library: insert text into PDF content in C#.net
SharePoint. Able to add a single text character and text string to PDF files using online source codes in C#.NET class program. Insert
erase text from pdf file; how to delete text from a pdf in acrobat
PrimeFaces User Guide
Name
Default
Type
Description
validator
null
Method
Expr
A method binding expression that refers to a method
validationg the input
valueChangeListener
null
Method
Expr
A method binding expression that refers to a method
for handling a valuchangeevent
requiredMessage
null
String
Message to be displayed when required field 
validation fails.
converterMessage
null
String
Message to be displayed when conversion fails.
validatorMessage
null
String
Message to be displayed when validation fields.
widgetVar
null
String
Name of the client side widget.
image
null
String
Context relative path to the image.
alt
null
String
Alternate text of the image.
aspectRatio
null
Double
Aspect ratio of the cropper area.
minSize
null
String
Minimum size of the cropper area.
maxSize
null
String
Maximum size of the cropper area.
backgroundColor
null
String
Background color of the container.
backgroundOpacity
0,6
Double
Background opacity of the container
initialCoords
null
String
Initial coordinates of the cropper area.
Getting started with the ImageCropper
ImageCropper is an input component and image to be cropped is provided via the image attribute.
The cropped area of the original image is used to create a new image, this new image can be
accessed on the backing bean by setting the value attribute of the image cropper. Assuming the
image is at %WEBAPP_ROOT%/campnou.jpg
<p:imageCropper value="#{cropper.croppedImage}" image="/campnou.jpg" />
public class Cropper {
private CroppedImage croppedImage;
//getter and setter
}
org.primefaces.model.CroppedImage belongs a PrimeFaces API and contains handy information 
about the crop process. Following table describes CroppedImage properties.
Property
Type
Description
originalFileName
String
Name of the original file that’s cropped
bytes
byte[]
Contents of the cropped area as a byte array
255
VB.NET PDF Text Extract Library: extract text content from PDF
Best VB.NET PDF text extraction SDK library and component for free download. Online Visual Basic .NET class source code for quick evaluation.
delete text in pdf file online; pdf text watermark remover
C# PDF Text Extract Library: extract text content from PDF file in
Free online source code for extracting text from adobe PDF document in C#.NET class. Able to extract and get all and partial text content from PDF file.
erase text from pdf; delete text pdf files
PrimeFaces User Guide
Property
Type
Description
left
int
Left coordinate
right
int
Right coordinate
width
int
Width of the cropped image
height
int
Height of the cropped image
External Images
ImageCropper has the ability to crop external images as well.
<p:imageCropper value="#{cropper.croppedImage}"
image="  
http://primefaces.prime.com.tr/en/images/schema.png
">
</p:imageCropper>
Context Relative Path
For  local images,  ImageCropper  always  requires  the  image path  to  be  context  relative. So  to
accomplish this simply just add slash ("/path/to/image.png") and imagecropper will recognize it at
%WEBAPP_ROOT%/path/to/image.png. Action url relative local images are not supported.
Initial Coordinates
By default, user action is necessary to initiate the cropper area on an image, you can specify an
initial area to display on page load using initialCoords option in x,y,w,h format.
<p:imageCropper value="#{cropper.croppedImage}" image="/campnou.jpg" 
initialCoords="225,75,300,125"/>
Boundaries
minSize and maxSize attributes are control to limit the size of the area to crop.
<p:imageCropper value="#{cropper.croppedImage}" image="/campnou.jpg" 
minSize="50,100" maxSize="150,200"/>
Saving Images
Below is an example to save the cropped image to file system.
<p:imageCropper value="#{cropper.croppedImage}" image="/campnou.jpg" />
<p:commandButton value="Crop" actionListener="#{myBean.crop}" />
256
PrimeFaces User Guide
public class Cropper {
private CroppedImage croppedImage;
//getter and setter
public String crop() {
ServletContext servletContext = (ServletContext) 
FacesContext.getCurrentInstance().getExternalContext().getContext();
String newFileName = servletContext.getRealPath("") + File.separator + 
"ui" + File.separator + "barca" + File.separator+ croppedImage.getOriginalFileName() 
+ "cropped.jpg";
FileImageOutputStream imageOutput;
try {
imageOutput = new FileImageOutputStream(new File(newFileName));
imageOutput.write(croppedImage.getBytes(), 0, 
croppedImage.getBytes().length);
imageOutput.close();
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
}
257
PrimeFaces User Guide
3.57 ImageSwitch
Imageswitch component is a simple image gallery component.
Info
Tag
imageSwitch
Component Class
org.primefaces.component.imageswitch.ImageSwitch
Component Type
org.primefaces.component.ImageSwitch
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.ImageSwitchRenderer
Renderer Class
org.primefaces.component.imageswitch.ImageSwitchRenderer
Attributes
Name
Default
Type
Description
id
null
String
Unique identifier of the component
rendered
true
Boolean
Boolean value to specify the rendering of the 
component, when set to false component will not be 
rendered.
binding
null
Object
An el expression that maps to a server side 
UIComponent instance in a backing bean
widgetVar
null
String
Name of the client side widget.
effect
null
String
Name of the effect for transition.
speed
500
Integer
Speed of the effect in milliseconds.
slideshowSpeed
3000
Integer
Slideshow speed in milliseconds.
slideshowAuto
true
Boolean
Starts slideshow automatically on page load.
style
null
String
Style of the main container.
styleClass
null
String
Style class of the main container.
258
PrimeFaces User Guide
Getting Started with ImageSwitch
ImageSwitch component needs a set of images to display. Provide the image collection as a set of
children components.
<p:imageSwitch effect="FlyIn">
<p:graphicImage value="/images/nature1.jpg" />
<p:graphicImage value="/images/nature2.jpg" />
<p:graphicImage value="/images/nature3.jpg" />
<p:graphicImage value="/images/nature4.jpg" />
</p:imageSwitch>
Most of the time, images could be dynamic, ui:repeat is supported to implement this case.
<p:imageSwitch>
<ui:repeat value="#{bean.images}" var="image">
<p:graphicImage value="#{image}" />
</ui:repeat>
</p:imageSwitch>
Slideshow or Manual
ImageSwitch is in slideShow mode by default, if you’d like manual transitions disable slideshow 
and use client side api to create controls.
<p:imageSwitch effect="FlyIn" widgetVar="imageswitch">
//images
</p:imageSwitch>
<span onclick="PF('imageswitch').previous();">Previous</span>
<span onclick="PF('imageswitch').next();">Next</span>
Client Side API
Widget: PrimeFaces.widget.ImageSwitch
Method
Params
Return Type
Description
startSlideshow()
-
void
Starts slideshow mode.
stopSlideshow()
-
void
Stops slideshow mode.
toggleSlideshow()
-
void
Toggles slideshow mode.
pauseSlideshow()
-
void
Pauses slideshow mode.
next()
-
void
Switches to next image.
previous()
-
void
Switches to previous image.
switchTo(index)
index
void
Displays image with given index.
259
PrimeFaces User Guide
Effect Speed
The speed is considered in terms of milliseconds and specified via the speed attribute.
<p:imageSwitch effect="FlipOut" speed="150">
//set of images
</p:imageSwitch>
List of Effects
ImageSwitch supports a wide range of transition effects. Following is the full list, note that values 
are case sensitive.
•blindX
•blindY
•blindZ
•cover
•curtainX
•curtainY
•fade
•fadeZoom
•growX
•growY
•none
•scrollUp
•scrollDown
•scrollLeft
•scrollRight
•scrollVert
•shuffle
•slideX
•slideY
•toss
•turnUp
•turnDown
•turnLeft
•turnRight
•uncover
•wipe
•zoom
260
Documents you may be interested
Documents you may be interested