Created
October 10, 2019 06:02
-
-
Save srujan21/ba54b902bf18f4e7b4b6c76153a85e4c to your computer and use it in GitHub Desktop.
Show the unchecked and checked checkbox in visualforce PDF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page showHeader="false" renderAs="PDF" cache="true" > | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> | |
<style type="text/css"> | |
@page{ | |
size:A4 portrait; | |
@bottom-right { | |
content: "Page " counter(page) " - " counter(pages); | |
font-family: 'Arial', 'Helvetica', sans-serif; | |
font-size:10px; | |
} | |
} | |
</style> | |
</head> | |
<apex:form> | |
My Checkbox : | |
<img src="/img/checkbox_unchecked.gif"/> | |
<img src="/img/checkbox_checked.gif"/> | |
</apex:form> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment