open pdf form itextsharp c# : Delete text in pdf file online Library SDK component .net asp.net windows mvc primefaces_user_guide_5_220-part1560

PrimeFaces User Guide
3.40 Effect
Effect component is based on the jQuery UI effects library.
Info
Tag
effect
Tag Class
org.primefaces.component.effect.EffectTag
Component Class
org.primefaces.component.effect.Effect
Component Type
org.primefaces.component.Effect
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.EffectRenderer
Renderer Class
org.primefaces.component.effect.EffectRenderer
Attributes
Name
Default
Type
Description
id
null
String
Unique identifier of the component
rendered
1
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
effect
null
String
Name of the client side widget.
event
null
String
Dom event to attach the event that executes the 
animation
type
null
String
Specifies the name of the animation
for
null
String
Component that is animated
speed
1000
Integer
Speed of the animation in ms
delay
null
Integer
Time to wait until running the effect.
Getting started with Effect
Effect component needs a trigger and target which is effect’s parent by default. In example below
clicking outputText (trigger) will run the pulsate effect on outputText(target) itself.
201
Delete text in pdf file online - 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 document; pdf editor delete text
Delete text in pdf file online - 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 in pdf document; how to delete text in pdf using acrobat professional
PrimeFaces User Guide
<h:outputText value="#{bean.value}">
<p:effect type="pulsate" event="click" />
</h:outputText>
Effect Target
There may be cases where you want to display an effect on another target on the same page while
keeping the parent as the trigger. Use for option to specify a target.
<h:outputLink id="lnk" value="#">
<h:outputText value="Show the Barca Temple" />
<p:effect type="appear" event="click" for="img" />
</h:outputLink>
<p:graphicImage id="img" value="/ui/barca/campnou.jpg" style="display:none"/>
With this setting, outputLink becomes the trigger for the effect on graphicImage. When the link is
clicked, initially hidden graphicImage comes up with a fade effect.
Note:  It’s important for components that have the effect component as a child to have an 
assigned id because some components do not render their clientId’s if you don’t give them an id 
explicitly.
List of Effects
Following is the list of effects;
•blind
•clip
•drop
•explode
•fold
•puff
•slide
•scale
•bounce
•highlight
•pulsate
•shake
•size
•transfer
202
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
NET read PDF, VB.NET convert PDF to text, VB.NET pages, VB.NET comment annotate PDF, VB.NET delete PDF pages, VB If you want to split PDF file into two or small
acrobat remove text from pdf; how to erase text in pdf online
VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.
Online source codes for quick evaluation in VB.NET looking for a solution to conveniently delete one page which supports a variety of PDF file editing features
delete text in pdf file online; erase text in pdf document
PrimeFaces User Guide
Effect Configuration
Each effect has different parameters for animation like colors, duration and more. In order to change
the configuration of the animation, provide these parameters with the f:param tag.
<h:outputText value="#{bean.value}">
<p:effect type="scale" event="mouseover">
<f:param name="percent" value="90"/>
</p:effect> 
</h:outputText>
It’s important to provide string options with single quotes.
<h:outputText value="#{bean.value}">
<p:effect type="blind" event="click">
<f:param name="direction" value="'horizontal'" />
</p:effect>
</h:outputText>
For the full list of configuration parameters for each effect, please see the jquery documentation;
http://docs.jquery.com/UI/Effects
Effect on Load
Effects can also be applied to any JSF component when page is loaded for the first time or after an
ajax request is completed by using load as the event name. Following example animates messages
with pulsate effect after ajax request completes.
<p:messages id="messages">
<p:effect type="pulsate" event="load" delay=”500”>
<f:param name="mode" value="'show'" />
</p:effect>
</p:messages>
<p:commandButton value="Save" actionListener="#{bean.action}" update="messages"/>
203
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.
remove text from pdf reader; how to edit and delete text in pdf file online
VB.NET PDF Text Extract Library: extract text content from PDF
advanced PDF Add-On, developers are able to extract target text content from source PDF document and save extracted text to other file formats through VB
delete text from pdf acrobat; how to remove highlighted text in pdf
PrimeFaces User Guide
3.41 FeedReader
FeedReader is used to display content from a feed.
Info
Tag
feedReader
Component Class
org.primefaces.component.feedreader.FeedReader
Component Type
org.primefaces.component.FeedReader
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.FeedReaderRenderer
Renderer Class
org.primefaces.component.feedreader.FeedReaderRenderer
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
String
URL of the feed.
var
null
String
Iterator to refer each item in feed.
size
Unlimited
Integer
Number of items to display.
Getting started with FeedReader
FeedReader requires a feed url to display and renders its content for each feed item.
<p:feedReader value="http://rss.news.yahoo.com/rss/sports
" var="feed">
<h:outputText value="#{feed.title}" style="font-weight: bold"/>
<h:outputText value="#{feed.description.value}" escape="false"/>
<p:separator />
<f:facet name="error">
Something went wrong.
</f:facet>
</p:feedReader>
Note that you need the ROME library in your classpath to make feedreader work.
204
VB.NET PDF File Compress Library: Compress reduce PDF size in vb.
size, images size reducing can help to reduce PDF file size effectively will also take up too much space, glyph file unreferenced can Delete unimportant contents
delete text from pdf online; how to copy text out of a pdf
C# PDF File Split Library: Split, seperate PDF into multiple files
SharePoint. C#.NET control for splitting PDF file into two or multiple files online. Support to break a large PDF file into smaller files.
how to delete text from a pdf document; how to erase text in pdf file
PrimeFaces User Guide
3.42 Fieldset
Fieldset is a grouping component as an extension to html fieldset.
Info
Tag
fieldset
Component Class
org.primefaces.component.fieldset.Fieldset
Component Type
org.primefaces.component.Fieldset
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.FieldsetRenderer
Renderer Class
org.primefaces.component.fieldset.FieldsetRenderer
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.
legend
null
String
Title text.
style
null
String
Inline style of the fieldset.
styleClass
null
String
Style class of the fieldset.
toggleable
false
Boolean
Makes content toggleable with animation.
toggleSpeed
500
Integer
Toggle duration in milliseconds.
collapsed
false
Boolean
Defines initial visibility state of content.
205
C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
Ability to remove a range of pages from PDF file. document page deleting library control (XDoc.PDF) can be C#.NET class applications to delete any unnecessary
how to edit and delete text in pdf file; how to delete text from pdf with acrobat
VB.NET PDF File Split Library: Split, seperate PDF into multiple
Split PDF file into two or multiple files in ASP.NET webpage online. Support to break a large PDF file into smaller files in .NET WinForms.
how to delete text in pdf file; online pdf editor to delete text
PrimeFaces User Guide
Getting started with Fieldset
Fieldset is used as a container component for its children.
<p:fieldset legend="Simple Fieldset">
<h:panelGrid column="2">
<p:graphicImage value="/images/godfather/1.jpg" />
<h:outputText value="The story begins as Don Vito Corleone ..." />
</h:panelGrid>
</p:fieldset>
Legend
Legend can be defined in two ways, with legend attribute as in example above or using legend
facet. Use facet way if you need to place custom html other than simple text.
<p:fieldset>
<f:facet name="legend">
</f:facet>
//content
</p:fieldset>
When both legend attribute and legend facet are present, facet is chosen.
Toggleable Content
Clicking on fieldset legend can toggle contents, this is handy to use space efficiently in a layout. Set
toggleable to true to enable this feature.
<p:fieldset legend="Toggleable Fieldset" toggleable="true">
<h:panelGrid column="2">
<p:graphicImage value="/images/godfather/2.jpg" />
<h:outputText value="Francis Ford Coppolas’ legendary ..." />
</h:panelGrid>
</p:fieldset>
Ajax Behavior Events
toggle is the default and only ajax behavior event provided by fieldset that is processed when the
content is toggled. In case you have a listener defined, it will be invoked by passing an instance of
org.primefaces.event.ToggleEvent.
206
PrimeFaces User Guide
Here  is  an  example  that  adds a  facesmessage and updates  growl component when  fieldset  is
toggled.
<p:growld id="messages" />
<p:fieldset legend="Toggleable Fieldset" toggleable="true" 
<p:ajax listener="#{bean.onToggle}" update="messages">
//content
</p:fieldset>
public void onToggle(ToggleEvent event) {
Visibility visibility = event.getVisibility();
FacesMessage msg = new FacesMessage();
msg.setSummary("Fieldset " + event.getId() + " toggled");
msg.setDetail("Visibility: " + visibility);
FacesContext.getCurrentInstance().addMessage(null, msg);
}
Client Side API
Widget: PrimeFaces.widget.Fieldset
Method
Params
Return Type
Description
toggle()
-
void
Toggles fieldset content.
Skinning
style and styleClass options apply to the fieldset. Following is the list of structural style classes;
Style Class
Applies
.ui-fieldset
Main container
.ui-fieldset-toggleable
Main container when fieldset is toggleable
.ui-fieldset .ui-fieldset-legend
Legend of fieldset
.ui-fieldset-toggleable .ui-fieldset-legend
Legend of fieldset when fieldset is toggleable
.ui-fieldset .ui-fieldset-toggler
Toggle icon on fieldset
As skinning style classes are global, see the main theming section for more information.
Tips
•A collapsed fieldset will remain collapsed after a postback since fieldset keeps its toggle state 
internally, you don
’t need to manage this using toggleListener and  collapsed option.
207
PrimeFaces User Guide
3.43 FileDownload
The legacy way to present dynamic binary data to the client is to write a servlet or a filter and
stream the binary data. FileDownload presents an easier way to do the same.
Info
Tag
fileDownload
ActionListener Class
org.primefaces.component.filedownload.FileDownloadActionListener
Attributes
Name
Default
Type
Description
value
null
StreamedContent
A streamed content instance
contextDisposition
attachment
String
Specifies display mode.
Getting started with FileDownload
A  user command  action is  required  to  trigger  the  filedownload  process.  FileDownload  can be
attached to any command component like a commandButton or commandLink. The value of the
FileDownload must be an org.primefaces.model.StreamedContent instance. We suggest using the
built-in DefaultStreamedContent implementation. First parameter of the constructor is the binary
stream, second is the mimeType and the third parameter is the name of the file.
public class FileBean {
private StreamedContent file;
public FileDownloadController() {
InputStream stream = this.getClass().getResourceAsStream("yourfile.pdf");
file = new DefaultStreamedContent(stream, "application/pdf", 
"downloaded_file.pdf");
}
public StreamedContent getFile() {
return this.file;
}
}
This streamed content should be bound to the value of the fileDownload.
<h:commandButton value="Download">
<p:fileDownload value="#{fileBean.file}" />
</h:commandButton>
Similarly a more graphical presentation would be to use a commandlink with an image.
208
PrimeFaces User Guide
<h:commandLink value="Download">
<p:fileDownload value="#{fileBean.file}"/>
<h:graphicImage value="pdficon.gif" />
</h:commandLink>
If you’d like to use PrimeFaces commandButton and commandLink, disable ajax option as 
fileDownload requires a full page refresh to present the file.
<p:commandButton value="Download" ajax="false">
<p:fileDownload value="#{fileBean.file}" />
</p:commandButton>
<p:commandLink value="Download" ajax="false">
<p:fileDownload value="#{fileBean.file}"/>
<h:graphicImage value="pdficon.gif" />
</p:commandLink>
ContentDisposition
By default, content is displayed as an attachment with a download dialog box, another alternative is
the inline mode, in this case browser will try to open the file internally without a prompt. Note that
content disposition is not part of the http standard although it is widely implemented.
Monitor Status
As fileDownload process is non-ajax, ajaxStatus cannot apply. Still PrimeFaces provides a feature
to monitor file downloads via client side monitorDownload(startFunction, endFunction) method.
Example below displays a modal dialog when dowload begins and hides it on complete.
<script type="text/javascript">
function showStatus() {
PF('statusDialog').show();
}
function hideStatus() {
PF('statusDialog').hide();
}
</script>
<h:form>
<p:dialog modal="true" widgetVar="statusDialog" header="Status" draggable="false"
closable="false">
<p:graphicImage value="/design/ajaxloadingbar.gif" />
</p:dialog>
<p:commandButton value="Download" ajax="false" 
onclick="PrimeFaces.monitorDownload(showStatus, hideStatus)">
<p:fileDownload value="#{fileDownloadController.file}"/>
</p:commandButton>
</h:form>
Cookies must be enabled for monitoring.
209
PrimeFaces User Guide
3.44 FileUpload
FileUpload  goes  beyond  the  browser  input  type="file"  functionality  and  features  an  HTML5
powered rich solution with graceful degradation for legacy browsers.
Info
Tag
fileUpload
Component Class
org.primefaces.component.fileupload.FileUpload
Component Type
org.primefaces.component.FileUpload
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.FileUploadRenderer
Renderer Class
org.primefaces.component.fileupload.FileUploadRenderer
Attributes
Name
Default
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.
210
Documents you may be interested
Documents you may be interested