Posts

Showing posts from October, 2014

Image Compression and Watermark Text In Asp.Net C#

   public void CreatePicture(Stream Fs,string uploadFilename, bool BinaryWrite)             {                string WorkingDirectory = HttpContext.Current.Server.MapPath("Images/DoctorImg/");                        /*  Bitmap bmpUpload = new Bitmap(Fs, false);                 Graphics graphicsObj = Graphics.FromImage(bmpUpload);                 Brush brush = new SolidBrush(Color.Gray);                 Point postionWaterMark = new Point((bmpUpload.Width /10), (bmpUpload.Height/10));        ...

Java OOPs Concepts

Image
In this page, we will learn about basics of OOPs. Object Oriented Programming is a paradigm that provides many concepts such as inheritance , data binding , polymorphism etc. Simula is considered as the first object-oriented programming language. The programming paradigm where everything is represented as an object, is known as truly object-oriented programming language. Smalltalk is considered as the first truly object-oriented programming language. OOPs (Object Oriented Programming System) Object means a real word entity such as pen, chair, table etc. Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects. It simplifies the software development and maintenance by providing some concepts: Object Class Inheritance Polymorphism Abstraction Encapsulation Object Any entity that has state and behavior is known as an object. For example: chair, pen, table, keyboard, bike etc. It can be physical and logical. C...

Set Daynamic layout in Android

  Xml File    <LinearLayout                         android:id="@+id/Someonelese"                         android:layout_width="match_parent"                         android:layout_height="wrap_content"                              android:layout_below="@+id/viewStub1"                         android:layout_marginLeft="17dp"         ...