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
Simple Multiple File Upload |
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
""" | |
---------------------------- | |
setting.py dosyasındaki ayarları yaptıktan sonra locale klasörü oluşturmak için | |
pycharm > Tools > Run manage.py task çalıştırılır. | |
manage.py konsoluna sırasıyla aşağıdaki komutlar yazılır. | |
makemessages -l tr | |
makemessages -l en |
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
var fileName = Server.MapPath("/Content/test_small.pptx"); | |
var presentation = PresentationDocument.Open(fileName, true); | |
int i = 1; | |
ViewBag.Link = null; | |
foreach (var slide in presentation.PresentationPart.SlideParts) | |
{ | |
var imagePart = (ImagePart)slide.GetPartById("rId2"); | |
var img = Image.FromStream(imagePart.GetStream()); | |
var bmp = new Bitmap(1920, 1080); | |
using (var graph = Graphics.FromImage(bmp)) |