asp.net


ASP.NET MVC Rotativa.ViewAsPdf Generate Mobile View(I want Full Size)


I need to Generate Pdf from View .
I am using Rotativa but Always Generate Mobile Size (View file include bootsrap).
How can I disable resize in Rotativa .
My Code is :
ViewAsPdf pdf = new ViewAsPdf("DownloadViewPDF", property)
{
FileName = "Angel" + ".pdf",
PageOrientation = Orientation.Landscape,
PageMargins = new Margins(0, 0, 0, 0),
PageSize = Rotativa.Options.Size.A4,
CustomSwitches = "--disable-smart-shrinking"
};
return pdf;

Related Links

Gridview Column Header missing when export to csv in asp.net
Why 304 result getting instade of 200 when website is loading?
Website configuration to have different culture settings per subdirectory
How to backup and restore local database in asp.net application using entity framework?
User frequently log out
Same Session variable names in different web applications hosted on same server/app pool
Report viewer control Export function exposes session id with ASP.NET Web Forms
ASP.Net identity framework as a form of authentication?
ASP.NET Windows Authentication requesting user credentials repeatedly
ASP.NET Web Pages 2 Select Value Validation
User control with ModalPopupExtender ASP.NET
asp .net how to recreate page controls after event is fired
:JSON unable to read result of Web Service
How to highlight text using ABBYY Cloud OCR SDK
Change theme using knockout in asp.net on master page, change theme dynamically
Client side tracing for ASMX web service

Categories

HOME
excel-formula
marie
domain-driven-design
wifi
gaussian
localhost
travis-ci-cli
revit-api
cracking
phpexcel
olap
select2
email-attachments
desktop-application
loss
owncloud
jquery-easyui
hapijs
draw2d
descriptor
screen-scraping
email-client
grunt-contrib-uglify
gulp-jshint
dynamics-ax-2012-r3
exacttarget
kubectl
jcr
openvms
wunderground
azure-vm-scale-set
flex3
lighting
stdin
nsdateformatter
flume-ng
apiman
f#-fake
bootstrap-carousel
servicebus
jks
remap
ionic2-select
history
ng-class
e4
playframework-1.x
htop
ajv
seyren
selection-sort
androiddesignsupport
directinput
portaudio
optional-parameters
ldd
virtualenvwrapper
rowname
cherry-pick
innertext
instabug
gtkwave
tess4j
sparkcore
genome
nexusdb
xmla
dojox.grid
system.io.packaging
xmlserializer
disabled-control
xpand
android-relativelayout
sigma-grid-control
pthreads-win32
facebook-java-api
google-mirror-api
grape-api
octokit
ironworker
objectdatasource
oc4j
record-locking
panelgrid
asp.net-4.0
reference-manual
expresso-store
winrt-async
nude.js
socketasynceventargs
eeprom
wdm
pex-and-moles
digg
simultaneous
system-analysis
mysql-logic
lts
dojox.gfx

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App