open pdf form itextsharp c# : How to delete text in pdf converter control SDK system web page winforms azure console primefaces_user_guide_5_219-part1558

PrimeFaces User Guide
Getting Started with Droppable
Usage of droppable is very similar to draggable, droppable behavior can be added to any component
specified with the for attribute.
<p:outputPanel id="slot" styleClass="slot" />
<p:droppable for="slot" />
slot styleClass represents a small rectangle.
<style type="text/css">
.slot {
background:#FF9900; 
width:64px;
height:96px;
display:block;
}
</style>
If for attribute is omitted, parent component becomes droppable.
<p:outputPanel id="slot" styleClass="slot">
<p:droppable />
</p:outputPanel>
Ajax Behavior Events
drop is the only and default ajax behavior event provided by droppable that is processed when a
valid  draggable  is  dropped.  In  case  you  define  a  listener  it’ll  be  executed  by  passing  an
org.primefaces.event.DragDrop event instance parameter holding information about the  dragged
and dropped components. 
Following example shows how to enable draggable images to be dropped on droppables.
<p:graphicImage id="messi" value="barca/messi_thumb.jpg" />
<p:draggable for="messi"/>
<p:outputPanel id="zone" styleClass="slot" />
<p:droppable for="zone">
<p:ajax listener="#{ddController.onDrop}" />
</p:droppable>
public void onDrop(DragDropEvent ddEvent) {
String draggedId = ddEvent.getDragId();
//Client id of dragged component
String droppedId = ddEvent.getDropId();
//Client id of dropped component
Object data = ddEvent.getData();
//Model object of a datasource
}
191
How to delete text in pdf converter - 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
how to delete text in pdf document; delete text pdf
How to delete text in pdf converter - 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 edit and delete text in pdf file online; erase text from pdf file
PrimeFaces User Guide
onDrop
onDrop is a client side callback that is invoked when a draggable is dropped, it gets two parameters 
event and ui object holding information about the drag drop event.
<p:outputPanel id="zone" styleClass="slot" />
<p:droppable for="zone" onDrop="handleDrop"/>
function handleDrop(event, ui) {
var draggable = ui.draggable,
//draggable element, a jQuery object
helper = ui.helper,
//helper element of draggable, a jQuery object
position = ui.position,
//position of draggable helper
offset = ui.offset;
//absolute position of draggable helper
}
DataSource
Droppable has special care for data elements that extend from UIData(e.g. datatable, datagrid), in
order to connect a droppable to accept data from a data component define datasource option as the
id of the data component. Example below show how to drag data from datagrid and drop onto a
droppable to implement a dragdrop based selection. Dropped cars are displayed with a datatable.
public class TableBean {
private List<Car> availableCars;
private List<Car> droppedCars;
public TableBean() {
availableCars = //populate data
}
//getters and setters
public void onCarDrop(DragDropEvent event) {
Car car = ((Car) ddEvent.getData());
droppedCars.add(car);
availableCars.remove(car);
}
}
192
VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.
›› VB.NET PDF: Delete PDF Page. VB.NET PDF - How to Delete PDF Document Page in VB.NET. Visual Basic Sample Codes to Delete PDF Document Page in VB.NET Class.
remove text from pdf; delete text from pdf file
C# PDF Convert to Text SDK: Convert PDF to txt files in C#.net
Integrate following RasterEdge C#.NET text to PDF converter SDK dlls into your C#.NET project assemblies; RasterEdge.Imaging.Basic.dll.
how to delete text in pdf acrobat; how to remove text watermark from pdf
PrimeFaces User Guide
<h:form id="carForm">
<p:fieldset legend="AvailableCars">
<p:dataGrid id="availableCars" var="car" 
value="#{tableBean.availableCars}" columns="3">
<p:column>
<p:panel id="pnl" header="#{car.model}" style="text-align:center">
<p:graphicImage value="/images/cars/#{car.manufacturer}.jpg" />
</p:panel>
<p:draggable for="pnl" revert="true" handle=".ui-panel-titlebar" 
stack=".ui-panel"/>
</p:column>
</p:dataGrid>
</p:fieldset>
<p:fieldset id="selectedCars" legend="Selected Cars" style="margin-top:20px">
<p:outputPanel id="dropArea">
<h:outputText value="!!!Drop here!!!" 
rendered="#{empty tableBean.droppedCars}" style="font-size:24px;" />
<p:dataTable var="car" value="#{tableBean.droppedCars}" 
rendered="#{not empty tableBean.droppedCars}">
<p:column headerText="Model">
<h:outputText value="#{car.model}" />
</p:column>
<p:column headerText="Year">
<h:outputText value="#{car.year}" />
</p:column>
<p:column headerText="Manufacturer">
<h:outputText value="#{car.manufacturer}" />
</p:column>
<p:column headerText="Color">
<h:outputText value="#{car.color}" />
</p:column>
</p:dataTable>
</p:outputPanel>
</p:fieldset>
<p:droppable for="selectedCars" tolerance="touch" 
activeStyleClass="ui-state-highlight" datasource="availableCars" 
onDrop="handleDrop"/>
<p:ajax listener="#{tableBean.onCarDrop}" update="dropArea availableCars" />
</p:droppable>
</h:form>
<script type="text/javascript">
function handleDrop(event, ui) {
ui.draggable.fadeOut(‘fast’);
//fade out the dropped item
}
</script>
193
VB.NET PDF Text Extract Library: extract text content from PDF
PDF ›› VB.NET PDF: Extract PDF Text. VB.NET PDF - Extract Text from PDF Using VB. How to Extract Text from PDF with VB.NET Sample Codes in .NET Application.
how to edit and delete text in pdf file; pdf text watermark remover
C# PDF Text Extract Library: extract text content from PDF file in
XDoc.PDF ›› C# PDF: Extract PDF Text. C# PDF - Extract Text from PDF in C#.NET. Feel Free to Extract Text from PDF Page, Page Region or the Whole PDF File.
delete text from pdf with acrobat; deleting text from a pdf
PrimeFaces User Guide
Tolerance
There are four different tolerance modes that define the way of accepting a draggable.
Mode
Description
fit
draggable should overlap the droppable entirely
intersect
draggable should overlap the droppable at least 50%
pointer
pointer of mouse should overlap the droppable
touch
droppable should overlap the droppable at any amount
Acceptance
You can limit which draggables can be dropped onto droppables using scope attribute which a 
draggable also has. Following example has two images, only first image can be accepted by 
droppable.
<p:graphicImage id="messi" value="barca/messi_thumb.jpg" />
<p:draggable for="messi" scope="forward"/>
<p:graphicImage id="xavi" value="barca/xavi_thumb.jpg" />
<p:draggable for="xavi" scope="midfield"/>
<p:outputPanel id="forwardsonly" styleClass="slot" scope="forward" />
<p:droppable for="forwardsonly" />
Skinning
hoverStyleClass and activeStyleClass attributes are used to change the style of the droppable when 
interacting with a draggable.
194
VB.NET PDF Convert to Text SDK: Convert PDF to txt files in vb.net
Convert PDF to Text in VB.NET Demo Code. Integrate following RasterEdge text to PDF converter SDK dlls into your VB.NET project assemblies;
how to delete text from pdf document; acrobat delete text in pdf
C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
Page: Delete Existing PDF Pages. |. Home ›› XDoc.PDF ›› C# PDF: Delete PDF Page. C#.NET PDF Library - Delete PDF Document Page in C#.NET.
how to delete text from a pdf; how to delete text from a pdf in acrobat
PrimeFaces User Guide
3.38 Dock
Dock component mimics the well known dock interface of Mac OS X.
Info
Tag
dock
Component Class
org.primefaces.component.dock.Dock
Component Type
org.primefaces.component.Dock
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.DockRenderer
Renderer Class
org.primefaces.component.dock.DockRenderer
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
model
null
MenuModel
MenuModel instance to create menus 
programmatically
position
bottom
String
Position of the dock, bottom or top.
itemWidth
40
Integer
Initial width of items.
maxWidth
50
Integer
Maximum width of items.
proximity
90
Integer
Distance to enlarge.
halign
center
String
Horizontal alignment,
widgetVar
null
String
Name of the client side widget.
195
C# Create PDF from Text to convert txt files to PDF in C#.net, ASP
C#.NET: View Tiff in WPF. XDoc.Converter for C#; XDoc.PDF for C# File: Split PDF; C# Page: Insert PDF pages; C# Page: Delete PDF pages; C# Read: PDF Text Extract
delete text from pdf file; delete text pdf acrobat professional
VB.NET Create PDF from Text to convert txt files to PDF in vb.net
C#.NET: View Tiff in WPF. XDoc.Converter for C#; XDoc.PDF for C# File: Split PDF; C# Page: Insert PDF pages; C# Page: Delete PDF pages; C# Read: PDF Text Extract
pull text out of pdf; erase text from pdf file
PrimeFaces User Guide
Getting started with the Dock
A dock is composed of menuitems.
<p:dock>
<p:menuitem value="Home" icon="/images/dock/home.png" url="#" />
<p:menuitem value="Music" icon="/images/dock/music.png" url="#" />
<p:menuitem value="Video" icon="/images/dock/video.png" url="#"/>
<p:menuitem value="Email" icon="/images/dock/email.png" url="#"/>
<p:menuitem value="Link" icon="/images/dock/link.png" url="#"/>
<p:menuitem value="RSS" icon="/images/dock/rss.png" url="#"/>
<p:menuitem value="History" icon="/images/dock/history.png" url="#"/>
</p:dock>
Position
Dock can be located in two locations, top or bottom (default). For a dock positioned at top set 
position to top.
Dock Effect
When mouse is over the dock items, icons are zoomed in. The configuration of this effect is done 
via the maxWidth and proximity attributes.
Dynamic Menus
Menus can be created programmatically as well, see the dynamic menus part in menu component 
section for more information and an example.
Skinning
Following is the list of structural style classes, {positon} can be top or bottom.
Style Class
Applies
.ui-dock-{position}
Main container.
.ui-dock-container-{position}
Menu item container.
.ui-dock-item-{position}
Each menu item.
As skinning style classes are global, see the main theming section for more information.
196
PrimeFaces User Guide
3.39 Editor
Editor is an input component with rich text editing capabilities.
Info
Tag
editor
Component Class
org.primefaces.component.editor.Editor
Component Type
org.primefaces.component.Editor
Component Family
org.primefaces.component
Renderer Type
org.primefaces.component.EditorRenderer
Renderer Class
org.primefaces.component.editor.EditorRenderer
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.
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.
197
PrimeFaces User Guide
Name
Default
Type
Description
validator
null
Method
Expr
A method expression that refers to a method 
validationg the input.
valueChangeListener
null
Method
Expr
A method 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 fails.
widgetVar
null
String
Name of the client side widget.
controls
null
String
List of controls to customize toolbar.
height
null
Integer
Height of the editor.
width
null
Integer
Width of the editor.
disabled
false
Boolean
Disables editor.
style
null
String
Inline style of the editor container.
styleClass
null
String
Style class of the editor container.
onchange
null
String
Client side callback to execute when editor data 
changes.
maxlength
null
Integer
Maximum length of the raw input.
Getting started with the Editor
Rich Text entered using the Editor is passed to the server using value expression.
public class Bean {
private String text;
//getter and setter
}
<p:editor value="#{bean.text}" />
Custom Toolbar
Toolbar of editor is easy to customize using controls option;
<p:editor value="#{bean.text}" controls="bold italic underline strikethrough" />
198
PrimeFaces User Guide
Here is the full list of all available controls;
•bold
•italic
•underline
•strikethrough
•subscript
•superscript
•font
•size
•style
•color
•highlight
•bullets
•numbering
•alignleft
•center
•alignright
•justify
•undo
•redo
•rule
•image
•link
•unlink
•cut
•copy
•paste
•pastetext
•print
•source
•outdent
•indent
•removeFormat
Client Side API
Widget: PrimeFaces.widget.Editor
Method
Params
Return Type
Description
init()
-
void
Initializes a lazy editor, subsequent calls do not 
reinit the editor.
saveHTML()
-
void
Saves html text in iframe back to the textarea.
clear()
-
void
Clears the text in editor.
enable()
-
void
Enables editing.
disable()
-
void
Disables editing.
focus()
-
void
Adds cursor focus to edit area.
selectAll()
-
void
Selects all text in editor.
getSelectedHTML()
-
String
Returns selected text as HTML.
getSelectedText()
-
String
Returns selected text in plain format.
199
PrimeFaces User Guide
Skinning
Following is the list of structural style classes.
Style Class
Applies
.ui-editor
Main container.
.ui-editor-toolbar
Toolbar of editor.
.ui-editor-group
Button groups.
.ui-editor-button
Each button.
.ui-editor-divider
Divider to separate buttons.
.ui-editor-disabled
Disabled editor controls.
.ui-editor-list
Dropdown lists.
.ui-editor-color
Color picker.
.ui-editor-popup
Popup overlays.
.ui-editor-prompt
Overlays to provide input.
.ui-editor-message
Overlays displaying a message.
Editor is not integrated with ThemeRoller as there is only one icon set for the controls.
200
Documents you may be interested
Documents you may be interested