TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abhilash J A
533
2.4k
598.2k
some invalid argument in system.drawing.graphics c#
Jan 8 2017 12:26 AM
Hello everyone,
How can I solve this error?
I have tried,
private
void
PrintImageHandler(
object
sender, PrintPageEventArgs ppeArgs)
{
string
[] ListViewItemsData = ListViewItemsCollections.Select(i => Convert.ToString(i.FilePath) + Convert.ToString(i.Parent_File_Name) +
"_"
+ Convert.ToString(i.Child_File_Name)).ToArray();
List<Bitmap> images =
new
List<Bitmap>();
foreach
(var file
in
ListViewItemsData)
{
images.Add(
new
Bitmap(file));
}
if
(images !=
null
)
{
ppeArgs.Graphics.DrawImageUnscaled(images, 0, 0);
}
ppeArgs.HasMorePages = (images !=
null
);
}
Please help me.
Reply
Answers (
2
)
How can I print each image seperately c#.net?
How to Compare Prefix of barcode ?